diff --git a/.coderabbit.yaml b/.coderabbit.yaml
index ec2953a161..42b705b571 100644
--- a/.coderabbit.yaml
+++ b/.coderabbit.yaml
@@ -8,4 +8,10 @@ reviews:
base_branches:
- main
- 1.6.x
- - 1.7.x
\ No newline at end of file
+ - 1.7.x
+ - 1.8.x
+ high_level_summary: false
+ poem: false
+ sequence_diagrams: false
+ collapse_walkthrough: true
+ changed_files_summary: false
diff --git a/.env b/.env
index d7aa8b8d9e..76af83a946 100644
--- a/.env
+++ b/.env
@@ -22,6 +22,7 @@ _APP_OPTIONS_FORCE_HTTPS=disabled
_APP_OPTIONS_ROUTER_FORCE_HTTPS=disabled
_APP_OPENSSL_KEY_V1=your-secret-key
_APP_DOMAIN=traefik
+_APP_CONSOLE_DOMAIN=localhost
_APP_DOMAIN_FUNCTIONS=functions.localhost
_APP_DOMAIN_SITES=sites.localhost
_APP_DOMAIN_TARGET_CNAME=test.localhost
@@ -84,8 +85,9 @@ _APP_COMPUTE_MAINTENANCE_INTERVAL=600
_APP_COMPUTE_RUNTIMES_NETWORK=runtimes
_APP_EXECUTOR_SECRET=your-secret-key
_APP_EXECUTOR_HOST=http://exc1/v1
-_APP_FUNCTIONS_RUNTIMES=php-8.0,node-18.0,python-3.9,ruby-3.1
-_APP_SITES_RUNTIMES=static-1,node-22,flutter-3.29
+_APP_BROWSER_HOST=http://appwrite-browser:3000/v1
+_APP_FUNCTIONS_RUNTIMES=node-22
+_APP_SITES_RUNTIMES=static-1,node-22
_APP_MAINTENANCE_INTERVAL=86400
_APP_MAINTENANCE_START_TIME=12:00
_APP_MAINTENANCE_RETENTION_CACHE=2592000
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 6d73787d00..62b4953e27 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -64,8 +64,9 @@ jobs:
sudo wget -O /usr/share/keyrings/azlux-archive-keyring.gpg https://azlux.fr/repo.gpg
sudo apt update
sudo apt install oha
+ oha --version
- name: Benchmark PR
- run: 'oha -z 180s http://localhost/v1/health/version -j > benchmark.json'
+ run: 'oha -z 180s http://localhost/v1/health/version --output-format json > benchmark.json'
- name: Cleaning
run: docker compose down -v
- name: Installing latest version
@@ -78,7 +79,7 @@ jobs:
docker compose up -d
sleep 10
- name: Benchmark Latest
- run: oha -z 180s http://localhost/v1/health/version -j > benchmark-latest.json
+ run: oha -z 180s http://localhost/v1/health/version --output-format json > benchmark-latest.json
- name: Prepare comment
run: |
echo '## :sparkles: Benchmark results' > benchmark.txt
diff --git a/.github/workflows/sdk-preview.yml b/.github/workflows/sdk-preview.yml
index 8abe2c2f91..e317845768 100644
--- a/.github/workflows/sdk-preview.yml
+++ b/.github/workflows/sdk-preview.yml
@@ -47,7 +47,7 @@ jobs:
node-version: 20
- name: Build and Publish SDK
- working-directory: ./app/sdks/${{ steps.set-sdk.outputs.platform }}-${{ steps.set-sdk.outputs.sdk_type }}
+ working-directory: ./app/sdks/console-web
run: |
npm install
npm run build
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6fd4e89858..9ea04f596c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -178,6 +178,7 @@ jobs:
- name: Load and Start Appwrite
run: |
docker load --input /tmp/${{ env.IMAGE }}.tar
+ sed -i 's|^_APP_BROWSER_HOST=.*|_APP_BROWSER_HOST=http://invalid-browser/v1|' .env
docker compose up -d
sleep 30
@@ -198,7 +199,7 @@ jobs:
docker compose exec -T \
-e _APP_DATABASE_SHARED_TABLES \
-e _APP_DATABASE_SHARED_TABLES_V1 \
- appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --exclude=devKeys
+ appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --exclude-group devKeys,screenshots
e2e_shared_mode_test:
name: E2E Shared Mode Service Test
@@ -277,14 +278,12 @@ jobs:
docker compose exec -T \
-e _APP_DATABASE_SHARED_TABLES \
-e _APP_DATABASE_SHARED_TABLES_V1 \
- appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --exclude=devKeys
+ appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --exclude-group devKeys,screenshots
e2e_dev_keys:
name: E2E Service Test (Dev Keys)
runs-on: ubuntu-latest
needs: setup
- strategy:
- fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v4
@@ -360,3 +359,85 @@ jobs:
-e _APP_DATABASE_SHARED_TABLES \
-e _APP_DATABASE_SHARED_TABLES_V1 \
appwrite test /usr/src/code/tests/e2e/Services/Projects --debug --group=devKeys
+
+ e2e_screenshots_keys:
+ name: E2E Service Test (Site Screenshots)
+ runs-on: ubuntu-latest
+ needs: setup
+ steps:
+ - name: checkout
+ uses: actions/checkout@v4
+
+ - name: Load Cache
+ uses: actions/cache@v4
+ with:
+ key: ${{ env.CACHE_KEY }}
+ path: /tmp/${{ env.IMAGE }}.tar
+ fail-on-cache-miss: true
+
+ - name: Load and Start Appwrite
+ run: |
+ docker load --input /tmp/${{ env.IMAGE }}.tar
+ sed -i 's/_APP_OPTIONS_ABUSE=disabled/_APP_OPTIONS_ABUSE=enabled/' .env
+ docker compose up -d
+ sleep 30
+
+ - name: Run Site tests with browser connected in dedicated table mode
+ run: |
+ echo "Keeping original value of _APP_BROWSER_HOST"
+ echo "Using project tables"
+ export _APP_DATABASE_SHARED_TABLES=
+ export _APP_DATABASE_SHARED_TABLES_V1=
+
+ docker compose exec -T \
+ -e _APP_DATABASE_SHARED_TABLES \
+ -e _APP_DATABASE_SHARED_TABLES_V1 \
+ appwrite test /usr/src/code/tests/e2e/Services/Sites --debug --group=screenshots
+
+ e2e_screenshots_shared_mode:
+ name: E2E Shared Mode Service Test (Site Screenshots)
+ runs-on: ubuntu-latest
+ needs: [ setup, check_database_changes ]
+ if: needs.check_database_changes.outputs.database_changed == 'true'
+ strategy:
+ fail-fast: false
+ matrix:
+ tables-mode: [
+ 'Shared V1',
+ 'Shared V2',
+ ]
+ steps:
+ - name: checkout
+ uses: actions/checkout@v4
+
+ - name: Load Cache
+ uses: actions/cache@v4
+ with:
+ key: ${{ env.CACHE_KEY }}
+ path: /tmp/${{ env.IMAGE }}.tar
+ fail-on-cache-miss: true
+
+ - name: Load and Start Appwrite
+ run: |
+ docker load --input /tmp/${{ env.IMAGE }}.tar
+ sed -i 's/_APP_OPTIONS_ABUSE=disabled/_APP_OPTIONS_ABUSE=enabled/' .env
+ docker compose up -d
+ sleep 30
+
+ - name: Run Site tests with browser connected in ${{ matrix.tables-mode }} table mode
+ run: |
+ echo "Keeping original value of _APP_BROWSER_HOST"
+ if [ "${{ matrix.tables-mode }}" == "Shared V1" ]; then
+ echo "Using shared tables V1"
+ export _APP_DATABASE_SHARED_TABLES=database_db_main
+ export _APP_DATABASE_SHARED_TABLES_V1=database_db_main
+ elif [ "${{ matrix.tables-mode }}" == "Shared V2" ]; then
+ echo "Using shared tables V2"
+ export _APP_DATABASE_SHARED_TABLES=database_db_main
+ export _APP_DATABASE_SHARED_TABLES_V1=
+ fi
+
+ docker compose exec -T \
+ -e _APP_DATABASE_SHARED_TABLES \
+ -e _APP_DATABASE_SHARED_TABLES_V1 \
+ appwrite test /usr/src/code/tests/e2e/Services/Sites --debug --group=screenshots
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7746ef99af..277a509447 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -415,8 +415,8 @@ In addition, you will also need to add some logic to the `reduce()` method of th
```php
case $document->getCollection() === 'buckets':
- $files = $dbForProject->getDocument('stats', md5(self::INFINITY_PERIOD . str_replace('{bucketInternalId}', $document->getInternalId(), METRIC_BUCKET_ID_FILES)));
- $storage = $dbForProject->getDocument('stats', md5(self::INFINITY_PERIOD . str_replace('{bucketInternalId}', $document->getInternalId(), METRIC_BUCKET_ID_FILES_STORAGE)));
+ $files = $dbForProject->getDocument('stats', md5(self::INFINITY_PERIOD . str_replace('{bucketInternalId}', $document->getSequence(), METRIC_BUCKET_ID_FILES)));
+ $storage = $dbForProject->getDocument('stats', md5(self::INFINITY_PERIOD . str_replace('{bucketInternalId}', $document->getSequence(), METRIC_BUCKET_ID_FILES_STORAGE)));
if (!empty($files['value'])) {
$metrics[] = [
@@ -463,9 +463,9 @@ $queueForStatsUsage
->addMetric(METRIC_BUILDS, 1)
->addMetric(METRIC_BUILDS_STORAGE, $build->getAttribute('size', 0))
->addMetric(METRIC_BUILDS_COMPUTE, (int)$build->getAttribute('duration', 0) * 1000)
- ->addMetric(str_replace('{functionInternalId}', $function->getInternalId(), METRIC_FUNCTION_ID_BUILDS), 1)
- ->addMetric(str_replace('{functionInternalId}', $function->getInternalId(), METRIC_FUNCTION_ID_BUILDS_STORAGE), $build->getAttribute('size', 0))
- ->addMetric(str_replace('{functionInternalId}', $function->getInternalId(), METRIC_FUNCTION_ID_BUILDS_COMPUTE), (int)$build->getAttribute('duration', 0) * 1000)
+ ->addMetric(str_replace('{functionInternalId}', $function->getSequence(), METRIC_FUNCTION_ID_BUILDS), 1)
+ ->addMetric(str_replace('{functionInternalId}', $function->getSequence(), METRIC_FUNCTION_ID_BUILDS_STORAGE), $build->getAttribute('size', 0))
+ ->addMetric(str_replace('{functionInternalId}', $function->getSequence(), METRIC_FUNCTION_ID_BUILDS_COMPUTE), (int)$build->getAttribute('duration', 0) * 1000)
->setProject($project)
->trigger();
```
diff --git a/README-CN.md b/README-CN.md
index 3aee63993e..f3571c54ce 100644
--- a/README-CN.md
+++ b/README-CN.md
@@ -72,7 +72,7 @@ docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
- appwrite/appwrite:1.7.3
+ appwrite/appwrite:1.7.4
```
### Windows
@@ -84,7 +84,7 @@ docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
- appwrite/appwrite:1.7.3
+ appwrite/appwrite:1.7.4
```
#### PowerShell
@@ -94,7 +94,7 @@ docker run -it --rm `
--volume /var/run/docker.sock:/var/run/docker.sock `
--volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
--entrypoint="install" `
- appwrite/appwrite:1.7.3
+ appwrite/appwrite:1.7.4
```
运行后,可以在浏览器上访问 http://localhost 找到 Appwrite 控制台。在非 Linux 的本机主机上完成安装后,服务器可能需要几分钟才能启动。
diff --git a/README.md b/README.md
index 2c76f27e13..07e8464ea0 100644
--- a/README.md
+++ b/README.md
@@ -81,7 +81,7 @@ docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
- appwrite/appwrite:1.7.3
+ appwrite/appwrite:1.7.4
```
### Windows
@@ -93,7 +93,7 @@ docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
- appwrite/appwrite:1.7.3
+ appwrite/appwrite:1.7.4
```
#### PowerShell
@@ -103,7 +103,7 @@ docker run -it --rm `
--volume /var/run/docker.sock:/var/run/docker.sock `
--volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
--entrypoint="install" `
- appwrite/appwrite:1.7.3
+ appwrite/appwrite:1.7.4
```
Once the Docker installation is complete, go to http://localhost to access the Appwrite console from your browser. Please note that on non-Linux native hosts, the server might take a few minutes to start after completing the installation.
diff --git a/app/cli.php b/app/cli.php
index 9517347420..86ec241c93 100644
--- a/app/cli.php
+++ b/app/cli.php
@@ -125,13 +125,13 @@ CLI::setResource('getProjectDB', function (Group $pools, Database $dbForPlatform
if (\in_array($dsn->getHost(), $sharedTables)) {
$database
->setSharedTables(true)
- ->setTenant($project->getInternalId())
+ ->setTenant((int)$project->getSequence())
->setNamespace($dsn->getParam('namespace'));
} else {
$database
->setSharedTables(false)
->setTenant(null)
- ->setNamespace('_' . $project->getInternalId());
+ ->setNamespace('_' . $project->getSequence());
}
return $database;
@@ -145,13 +145,13 @@ CLI::setResource('getProjectDB', function (Group $pools, Database $dbForPlatform
if (\in_array($dsn->getHost(), $sharedTables)) {
$database
->setSharedTables(true)
- ->setTenant($project->getInternalId())
+ ->setTenant((int)$project->getSequence())
->setNamespace($dsn->getParam('namespace'));
} else {
$database
->setSharedTables(false)
->setTenant(null)
- ->setNamespace('_' . $project->getInternalId());
+ ->setNamespace('_' . $project->getSequence());
}
$database
@@ -167,7 +167,7 @@ CLI::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($project->getInternalId());
+ $database->setTenant((int)$project->getSequence());
return $database;
}
@@ -182,22 +182,24 @@ CLI::setResource('getLogsDB', function (Group $pools, Cache $cache) {
// set tenant
if ($project !== null && !$project->isEmpty() && $project->getId() !== 'console') {
- $database->setTenant($project->getInternalId());
+ $database->setTenant((int)$project->getSequence());
}
return $database;
};
}, ['pools', 'cache']);
-
+CLI::setResource('publisher', function (Group $pools) {
+ return new BrokerPool(publisher: $pools->get('publisher'));
+}, ['pools']);
+CLI::setResource('publisherRedis', function () {
+ // Stub
+});
CLI::setResource('queueForStatsUsage', function (Publisher $publisher) {
return new StatsUsage($publisher);
}, ['publisher']);
CLI::setResource('queueForStatsResources', function (Publisher $publisher) {
return new StatsResources($publisher);
}, ['publisher']);
-CLI::setResource('publisher', function (Group $pools) {
- return new BrokerPool(publisher: $pools->get('publisher'));
-}, ['pools']);
CLI::setResource('queueForFunctions', function (Publisher $publisher) {
return new Func($publisher);
}, ['publisher']);
@@ -251,7 +253,7 @@ CLI::setResource('logError', function (Registry $register) {
};
}, ['register']);
-CLI::setResource('executor', fn () => new Executor(fn (string $projectId, string $deploymentId) => System::getEnv('_APP_EXECUTOR_HOST')));
+CLI::setResource('executor', fn () => new Executor());
CLI::setResource('telemetry', fn () => new NoTelemetry());
@@ -284,6 +286,5 @@ $cli
$cli->shutdown()->action(fn () => Timer::clearAll());
-// Enable coroutines, but disable TCP hooks. These don't work until we use `\Utopia\Cache\Adapter\Pool` and `\Utopia\Database\Adapter\Pool`.
-Runtime::enableCoroutine(SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_TCP);
+Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
run($cli->run(...));
diff --git a/app/config/collections/common.php b/app/config/collections/common.php
index e77d5403d2..6de7eb224b 100644
--- a/app/config/collections/common.php
+++ b/app/config/collections/common.php
@@ -1439,13 +1439,6 @@ return [
'lengths' => [],
'orders' => [Database::ORDER_ASC],
],
- [
- '$id' => ID::custom('_key_roles'),
- 'type' => Database::INDEX_KEY,
- 'attributes' => ['roles'],
- 'lengths' => [128],
- 'orders' => [],
- ],
],
],
diff --git a/app/config/collections/projects.php b/app/config/collections/projects.php
index 48a0938a1c..ac14421382 100644
--- a/app/config/collections/projects.php
+++ b/app/config/collections/projects.php
@@ -1286,6 +1286,7 @@ return [
]
],
],
+
'deployments' => [
'$collection' => ID::custom(Database::METADATA),
'$id' => ID::custom('deployments'),
diff --git a/app/config/console.php b/app/config/console.php
index e37c9b7836..b1e4299ce0 100644
--- a/app/config/console.php
+++ b/app/config/console.php
@@ -5,13 +5,13 @@
*/
use Appwrite\Auth\Auth;
-use Appwrite\Network\Validator\Origin;
+use Appwrite\Network\Platform;
use Utopia\Database\Helpers\ID;
use Utopia\System\System;
$console = [
'$id' => ID::custom('console'),
- '$internalId' => ID::custom('console'),
+ '$sequence' => ID::custom('console'),
'name' => 'Appwrite',
'$collection' => ID::custom('projects'),
'description' => 'Appwrite core engine',
@@ -23,7 +23,7 @@ $console = [
[
'$collection' => ID::custom('platforms'),
'name' => 'Localhost',
- 'type' => Origin::CLIENT_TYPE_WEB,
+ 'type' => Platform::TYPE_WEB,
'hostname' => 'localhost',
], // Current host is added on app init
],
diff --git a/app/config/errors.php b/app/config/errors.php
index 6d9d29a8ea..8365e8c705 100644
--- a/app/config/errors.php
+++ b/app/config/errors.php
@@ -393,6 +393,16 @@ return [
'description' => 'Membership is already confirmed.',
'code' => 409,
],
+ Exception::MEMBERSHIP_DELETION_PROHIBITED => [
+ 'name' => Exception::MEMBERSHIP_DELETION_PROHIBITED,
+ 'description' => 'Membership deletion is prohibited.',
+ 'code' => 400,
+ ],
+ Exception::MEMBERSHIP_DOWNGRADE_PROHIBITED => [
+ 'name' => Exception::MEMBERSHIP_DOWNGRADE_PROHIBITED,
+ 'description' => 'Membership role downgrade is prohibited.',
+ 'code' => 400,
+ ],
/** Avatars */
Exception::AVATAR_SET_NOT_FOUND => [
diff --git a/app/config/locale/templates/email-inner-base.tpl b/app/config/locale/templates/email-inner-base.tpl
index 8cef391d2f..677f70ce7d 100644
--- a/app/config/locale/templates/email-inner-base.tpl
+++ b/app/config/locale/templates/email-inner-base.tpl
@@ -1,6 +1,6 @@
{{hello}}
{{body}}
-{{redirect}}
+{{buttonText}}
{{footer}}
{{thanks}}
diff --git a/app/config/locale/translations/af.json b/app/config/locale/translations/af.json
index e68fda2c75..9b313ac92a 100644
--- a/app/config/locale/translations/af.json
+++ b/app/config/locale/translations/af.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Volg hierdie skakel om u e-pos adres te bevestig.",
"emails.verification.footer": "Ignoreer gerus hierdie boodskap as u nie die versoek gestuur het om u adres te bevestig nie.",
"emails.verification.thanks": "Baie dankie,",
+ "emails.verification.buttonText": "Bevestig e-posadres",
"emails.verification.signature": "Die {{project}} span",
"emails.magicSession.subject": "Teken aan",
"emails.magicSession.hello": "Goeie dag,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Volg hierdie skakel om u {{project}} wagwoord te herstel.",
"emails.recovery.footer": "Ignoreer gerus hierdie boodskap as u nie die versoek gestuur het om u wagwoord te herstel nie.",
"emails.recovery.thanks": "Baie dankie,",
+ "emails.recovery.buttonText": "Stel wagwoord terug",
"emails.recovery.signature": "Die {{project}} span",
"emails.invitation.subject": "Uitnodiging om by die %s span aan te sluit by %s",
"emails.invitation.hello": "Goeie dag,",
"emails.invitation.body": "Hierdie boodskap is aan u gestuur omdat {{owner}} u uitnooi om 'n lid van die {{team}} groep by die {{project}} projek te wees.",
"emails.invitation.footer": "As u nie belang stel nie, kan u gerus hierdie boodskap ignoreer.",
"emails.invitation.thanks": "Baie dankie,",
+ "emails.invitation.buttonText": "Aanvaar uitnodiging na {{team}}",
"emails.invitation.signature": "Die {{project}} span",
"locale.country.unknown": "Onbekend",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/ar-ma.json b/app/config/locale/translations/ar-ma.json
index efd2e95c31..e4b5b1f558 100644
--- a/app/config/locale/translations/ar-ma.json
+++ b/app/config/locale/translations/ar-ma.json
@@ -8,6 +8,7 @@
"emails.verification.body": "تبّع هاد الوصلة باش تيقّن لادريسة تاع ليميل ديالك.",
"emails.verification.footer": "إلا ماشي نتا اللي طلبتي تيقّن هاد لادريسة تاع ليميل، ممكن تنخّل هاد البرية.",
"emails.verification.thanks": "شكرا،",
+ "emails.verification.buttonText": "تأكيد عنوان البريد الإلكتروني",
"emails.verification.signature": "فرقة {{project}}",
"emails.magicSession.subject": "تكونيكطا",
"emails.magicSession.hello": "السلام،",
@@ -20,12 +21,14 @@
"emails.recovery.body": "تبّع هاد الوصلة باش تبدّل كلمة السر تاع {{project}}.",
"emails.recovery.footer": "إلا ماشي نتا اللي طلبتي تبدّل كلمة السر، ممكن تنخّل هاد البرية.",
"emails.recovery.thanks": "شكرا،",
+ "emails.recovery.buttonText": "إعادة تعيين كلمة السر",
"emails.recovery.signature": "فرقة {{project}}",
"emails.invitation.subject": "عراضة ل فرقة %s ف %s",
"emails.invitation.hello": "السلام،",
"emails.invitation.body": "هاد البرية تصيفطات ليك حيت {{owner}} بغى يعرض عليك تولّي عضو ف فرقة {{team}} عند {{project}}.",
"emails.invitation.footer": "إلا كنتي ما مسوّقش, ممكن تنخّل هاد البرية.",
"emails.invitation.thanks": "شكرا،",
+ "emails.invitation.buttonText": "اقبل الدعوة إلى {{team}}",
"emails.invitation.signature": "فرقة {{project}}",
"emails.certificate.subject": "السرتافيكة فشلات ل %s",
"emails.certificate.hello": "السلام،",
diff --git a/app/config/locale/translations/ar.json b/app/config/locale/translations/ar.json
index 1d67c2ecf7..eda0652fbe 100644
--- a/app/config/locale/translations/ar.json
+++ b/app/config/locale/translations/ar.json
@@ -8,6 +8,7 @@
"emails.verification.body": "برجاء اتباع الرابط التالي لتأكيد بريدك الإلكتروني",
"emails.verification.footer": "لو لم تطلب تأكيد هذا البريد الإلكتروني، يمكنك تجاهل هذه الرسالة",
"emails.verification.thanks": "شكرا،",
+ "emails.verification.buttonText": "تأكيد عنوان البريد الإلكتروني",
"emails.verification.signature": "فريق {{project}}",
"emails.magicSession.subject": "تسجيل الدخول",
"emails.magicSession.hello": "أهلا،",
@@ -20,12 +21,14 @@
"emails.recovery.body": "برجاء اتباع الراط التالي لتغيير كلمة السر الخاصة بـ{{project}}",
"emails.recovery.footer": "لولم تطلب تغيير كلمة السر، يمكنك تجاهل هذه الرسالة",
"emails.recovery.thanks": "شكرا،",
+ "emails.recovery.buttonText": "إعادة تعيين كلمة المرور",
"emails.recovery.signature": "فريق {{project}}",
"emails.invitation.subject": "دعوة لفريق %s في %s",
"emails.invitation.hello": "أهلا،",
"emails.invitation.body": "هذة الرسالة تم ارسالها لك لأن {{owner}} ارسل لك دعوة لتكون عضوا بفريق {{team}} في {{project}}",
"emails.invitation.footer": "اذا كنت غير مهتم، يمكنك تجاهل هذه الرسالة",
"emails.invitation.thanks": "شكرا،",
+ "emails.invitation.buttonText": "قبول الدعوة إلى {{team}}",
"emails.invitation.signature": "فريق {{project}}",
"locale.country.unknown": "مجهول",
"countries.af": "أفغانستان",
diff --git a/app/config/locale/translations/as.json b/app/config/locale/translations/as.json
index 572ed80f1a..60e385a8ac 100644
--- a/app/config/locale/translations/as.json
+++ b/app/config/locale/translations/as.json
@@ -8,6 +8,7 @@
"emails.verification.body": "আপোনাৰ ইমেইল ঠিকনা প্ৰমাণিত কৰিবলৈ এই লিংকটো অনুসৰণ কৰক।",
"emails.verification.footer": "যদি আপুনি এই ঠিকনাটো সত্যাপিত কৰিবলৈ কোৱা নাই, আপুনি এই বাৰ্তাটো উপেক্ষা কৰিব পাৰে।",
"emails.verification.thanks": "ধন্যবাদ,",
+ "emails.verification.buttonText": "ইমেইল ঠিকনা নিশ্চিত কৰক",
"emails.verification.signature": "{{project}} দল",
"emails.magicSession.subject": "লগইন",
"emails.magicSession.hello": "নমস্কাৰ,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "আপোনাৰ {{project}} পাছৱৰ্ড ৰিছেট কৰিবলৈ এই লিংকটো অনুসৰণ কৰক।.",
"emails.recovery.footer": "যদি আপুনি আপোনাৰ পাছৱৰ্ড ৰিছেট কৰিবলৈ কোৱা নাছিল, আপুনি এই বাৰ্তাটো উপেক্ষা কৰিব পাৰে।",
"emails.recovery.thanks": "ধন্যবাদ,",
+ "emails.recovery.buttonText": "পাছৱৰ্ড ৰিছেট কৰক",
"emails.recovery.signature": "{{project}} দল",
"emails.invitation.subject": "%s বছৰত %s দললৈ নিমন্ত্ৰণ",
"emails.invitation.hello": "নমস্কাৰ,",
"emails.invitation.body": "এই মেইলটো আপোনালৈ প্ৰেৰণ কৰা হৈছিল কাৰণ {{owner}} জনে আপোনাক {{project}} বছৰবয়সত {{team}} দলৰ সদস্য হ'বলৈ আমন্ত্ৰণ জনাব বিচাৰিছিল।",
"emails.invitation.footer": "যদি আপুনি আগ্ৰহী নহয়, আপুনি এই বাৰ্তাটো উপেক্ষা কৰিব পাৰে।",
"emails.invitation.thanks": "ধন্যবাদ,",
+ "emails.invitation.buttonText": "{{team}}-লৈ নিমন্ত্ৰণ গ্ৰহণ কৰক",
"emails.invitation.signature": "{{project}} দল",
"locale.country.unknown": "অজ্ঞাত ",
"countries.af": "আফগানিস্তান ",
diff --git a/app/config/locale/translations/az.json b/app/config/locale/translations/az.json
index 5988c51786..63e442f7c5 100644
--- a/app/config/locale/translations/az.json
+++ b/app/config/locale/translations/az.json
@@ -8,6 +8,7 @@
"emails.verification.body": "E-poçt ünvanınızı təsdiq etmək üçün bu linki izləyin.",
"emails.verification.footer": "Bu ünvanı doğrulamağı xahiş etməmisinizsə, bu mesajı gözardı edə bilərsiniz.",
"emails.verification.thanks": "Təşəkkürlər,",
+ "emails.verification.buttonText": "E-poçt ünvanını təsdiqlə",
"emails.verification.signature": "{{project}} komandası",
"emails.magicSession.subject": "Daxil Olmaq",
"emails.magicSession.hello": "Salam,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "{{project}} şifrənizi sıfırlamaq üçün bu linki izləyin.",
"emails.recovery.footer": "Şifrənizi sıfırlamağı xahiş etməmisinizsə, bu mesajı gözardı edə bilərsiniz.",
"emails.recovery.thanks": "Təşəkkürlər,",
+ "emails.recovery.buttonText": "Şifrəni sıfırla",
"emails.recovery.signature": "{{project}} komandası",
"emails.invitation.subject": "%s Komandasına Dəvət %sdə",
"emails.invitation.hello": "Salam,",
"emails.invitation.body": "{{owner}}, {{project}}də {{team}} komandasına üzv olmağa dəvət etmək istədiyi üçün bu məktub sizə göndərildi.",
"emails.invitation.footer": "Əgər maraqlanmırsınızsa, bu mesajı gözardı edə bilərsiniz.",
"emails.invitation.thanks": "Təşəkkürlər,",
+ "emails.invitation.buttonText": "{{team}} dəvətini qəbul et",
"emails.invitation.signature": "{{project}} komandası",
"locale.country.unknown": "Naməlum",
"countries.af": "Əfqanıstan",
diff --git a/app/config/locale/translations/be.json b/app/config/locale/translations/be.json
index f03a9d5bef..b4ae0827c3 100644
--- a/app/config/locale/translations/be.json
+++ b/app/config/locale/translations/be.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Перайдзіце па гэтай спасылцы, каб пацвердзіць свой адрас электроннай пошты",
"emails.verification.footer": "Калі вы не запытвалі пацвярджэнне гэтага адрасу, праігнаруйце гэтае паведамленне.",
"emails.verification.thanks": "Дзякуем,",
+ "emails.verification.buttonText": "Пацвердзіць адрас электроннай пошты",
"emails.verification.signature": "каманда {{project}}",
"emails.magicSession.subject": "Лагін",
"emails.magicSession.hello": "Прывітанне,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Перайдзіце па гэтай спасылцы, каб скінуць пароль для праекта {{project}}.",
"emails.recovery.footer": "Калі вы не прасілі скінуць пароль, вы можаце праігнараваць гэта паведамленне.",
"emails.recovery.thanks": "Дзякуем,",
+ "emails.recovery.buttonText": "Аднавіць пароль",
"emails.recovery.signature": "каманда {{project}}",
"emails.invitation.subject": "Запрошення до Команди %s у %s",
"emails.invitation.hello": "Прывітанне,",
"emails.invitation.body": "Гэта паведамленне было адпраўлена вам, таму што {{owner}} хацеў запрасіць вас стаць членам каманды {{team}} у {{project}}.",
"emails.invitation.footer": "Калі вам гэта не цікава, вы можаце праігнараваць гэтае паведамленне.",
"emails.invitation.thanks": "Дзякуем,",
+ "emails.invitation.buttonText": "Прыняць запрашэнне ў {{team}}",
"emails.invitation.signature": "каманда {{project}}",
"locale.country.unknown": "Невядомы",
"countries.af": "Афганістан",
diff --git a/app/config/locale/translations/bh.json b/app/config/locale/translations/bh.json
index 5cf06bd1dd..7d2b469ed5 100644
--- a/app/config/locale/translations/bh.json
+++ b/app/config/locale/translations/bh.json
@@ -8,6 +8,7 @@
"emails.verification.body": "ईमेल प्रमाणिकरण करे क लेल दिहल गइल लिंक फॉलो करें|",
"emails.verification.footer": "अगर ई पता को सत्यापित करे के लिए ना कहाले, तो आप ई संदेश क अनदेखा कर सकत अछि।",
"emails.verification.thanks": "धन्यवाद,",
+ "emails.verification.buttonText": "ईमेल पता के पुष्टि करीं",
"emails.verification.signature": "{{project}} टीम",
"emails.magicSession.subject": "लॉग इन करीं|",
"emails.magicSession.hello": "प्रणाम,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "पासवर्ड बदल क लेल दिहल गइल लिंक फॉलो करें|",
"emails.recovery.footer": "अगर पासवर्ड बदल क लेल ना कहाले, तो आप ई संदेश क अनदेखा कर सकत अछि।",
"emails.recovery.thanks": "धन्यवाद,",
+ "emails.recovery.buttonText": "पासवर्ड रीसेट करीं",
"emails.recovery.signature": "{{project}} टीम",
"emails.invitation.subject": "%s टीम क %s पे न्योता देवे क लेल|",
"emails.invitation.hello": "प्रणाम,",
"emails.invitation.body": "ई मेल आपके एही लेल भेजल गईल रहल काहे क {{owner}} आपके {{project}} क {{team}} टीम का सदस्य बनावे चाहित रहे|",
"emails.invitation.footer": "अगर आवे क इच्छा ना होवत, तो आप ई संदेश क अनदेखा कर सकत अछि।",
"emails.invitation.thanks": "धन्यवाद,",
+ "emails.invitation.buttonText": "{{team}} में नेवता स्वीकार करीं",
"emails.invitation.signature": "{{project}} टीम",
"locale.country.unknown": "अनजान",
"countries.af": "अफ़ग़ानिस्तान",
diff --git a/app/config/locale/translations/bn.json b/app/config/locale/translations/bn.json
index 495f56e012..1157d5cc0f 100644
--- a/app/config/locale/translations/bn.json
+++ b/app/config/locale/translations/bn.json
@@ -8,6 +8,7 @@
"emails.verification.body": "এই লিঙ্কের মাধ্যমে ইমেইল যাচাই করুন।",
"emails.verification.footer": "আপনি যদি এই ঠিকানা যাচাই করতে না বলেন, তাহলে আপনি এই বার্তাটি উপেক্ষা করতে পারেন।",
"emails.verification.thanks": "ধন্যবাদ,",
+ "emails.verification.buttonText": "ইমেইল ঠিকানা নিশ্চিত করুন",
"emails.verification.signature": "{{project}} টীম",
"emails.magicSession.subject": "লগ ইন",
"emails.magicSession.hello": "নমস্কার,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "এই লিঙ্কের মাধ্যমে আপনার {{project}} পাসওয়ার্ড পুনরায় সেট করুন।",
"emails.recovery.footer": "আপনি যদি আপনার পাসওয়ার্ড পুনরায় সেট করতে না বলেন, তাহলে আপনি এই বার্তাটি উপেক্ষা করতে পারেন।",
"emails.recovery.thanks": "ধন্যবাদ,",
+ "emails.recovery.buttonText": "পাসওয়ার্ড রিসেট করুন",
"emails.recovery.signature": "{{project}} টীম",
"emails.invitation.subject": "%s টিমকে %s তে আমন্ত্রণ জানান",
"emails.invitation.hello": "নমস্কার,",
"emails.invitation.body": "এই মেইলটি আপনাকে পাঠানো হয়েছে কারণ {{owner}} আপনাকে {{project}} এর সাথে যুক্ত {{team}} টিমের সদস্য হওয়ার জন্য আমন্ত্রণ জানাতে চেয়েছিলেন।",
"emails.invitation.footer": "যদি এটি আপনার জন্য প্রয়োজনীয় না হয়, আপনি এই বার্তাটি উপেক্ষা করতে পারেন।",
"emails.invitation.thanks": "ধন্যবাদ,",
+ "emails.invitation.buttonText": "{{team}}-এর আমন্ত্রণ গ্রহণ করুন",
"emails.invitation.signature": "{{project}} টীম",
"locale.country.unknown": "অজানা",
"countries.af": "আফগানিস্তান",
diff --git a/app/config/locale/translations/ca.json b/app/config/locale/translations/ca.json
index 98940a4a48..ec5112f075 100644
--- a/app/config/locale/translations/ca.json
+++ b/app/config/locale/translations/ca.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Accedeix a aquest enllaç per tal de verificar la teva adreça electrònica.",
"emails.verification.footer": "Si no has sol·licitat la verificació d'aquesta adreça electrònica, pots ignorar aquest missatge.",
"emails.verification.thanks": "Gràcies,",
+ "emails.verification.buttonText": "Confirma l'adreça electrònica",
"emails.verification.signature": "Equip {{project}}",
"emails.magicSession.subject": "Entrar",
"emails.magicSession.hello": "Hola,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Accedeix a aquest enllaç per a reinicialitzar la teva contrasenya de {{project}}.",
"emails.recovery.footer": "Si no has sol·licitat reinicialitzar la teva contrasenya, pots ignorar aquest missatge.",
"emails.recovery.thanks": "Gràcies,",
+ "emails.recovery.buttonText": "Restableix la contrasenya",
"emails.recovery.signature": "Equip {{project}}",
"emails.invitation.subject": "Invitació a l'equip %s a s%",
"emails.invitation.hello": "Hola,",
"emails.invitation.body": "Aquest correu se t'ha enviat perquè {{owner}} vol convidar-te a formar part de l'equip {{team}} al {{project}}.",
"emails.invitation.footer": "Si no és del teu interès, pots ignorar aquest missatge.",
"emails.invitation.thanks": "Gràcies,",
+ "emails.invitation.buttonText": "Accepta la invitació a {{team}}",
"emails.invitation.signature": "Equip {{project}}",
"locale.country.unknown": "Desconegut",
"countries.af": "Afganistan",
diff --git a/app/config/locale/translations/da.json b/app/config/locale/translations/da.json
index 9cec74dbed..ae93b3c3b5 100644
--- a/app/config/locale/translations/da.json
+++ b/app/config/locale/translations/da.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Følg dette link, for at verificere din email adresse.",
"emails.verification.footer": "Hvis du ikke har bedt om at verificere denne adresse, ignorer venligst denne besked.",
"emails.verification.thanks": "Tak,",
+ "emails.verification.buttonText": "Bekræft e-mailadresse",
"emails.verification.signature": "{{project}} team",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Hej,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Følg dette link for at nulstille koden til {{project}}.",
"emails.recovery.footer": "Hvis du ikke har bedt om at nulstille dit password, ignorer venligst denne besked.",
"emails.recovery.thanks": "Tak,",
+ "emails.recovery.buttonText": "Nulstil adgangskode",
"emails.recovery.signature": "{{project}} team",
"emails.invitation.subject": "Invitation til %s Team på %s",
"emails.invitation.hello": "Hej,",
"emails.invitation.body": "Denne mail blev sendt til dig, fordi {{owner}} vil invitere dig til at blive medlem af {{team}} teamet på {{project}}.",
"emails.invitation.footer": "Hvis du ikke er interesseret, ignorer venligst denne besked.",
"emails.invitation.thanks": "Tak,",
+ "emails.invitation.buttonText": "Accepter invitation til {{team}}",
"emails.invitation.signature": "{{project}} team",
"locale.country.unknown": "Ukendt",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/de.json b/app/config/locale/translations/de.json
index 38b1e46870..a5a2f0ba43 100644
--- a/app/config/locale/translations/de.json
+++ b/app/config/locale/translations/de.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Folge diesem Link, um deine E-Mail-Adresse zu bestätigen.",
"emails.verification.footer": "Solltest du keine Verifizierung dieser E-Mail-Adresse angefordert haben, kannst du diese Nachricht ignorieren.",
"emails.verification.thanks": "Danke,",
+ "emails.verification.buttonText": "E-Mail-Adresse bestätigen",
"emails.verification.signature": "{{project}}-Team",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Hey,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Folge diesem Link, um dein {{project}}-Kennwort zurückzusetzen.",
"emails.recovery.footer": "Solltest du keine Kennwort-Zurücksetzung angefordert haben, kannst du diese Nachricht ignorieren.",
"emails.recovery.thanks": "Danke,",
+ "emails.recovery.buttonText": "Passwort zurücksetzen",
"emails.recovery.signature": "{{project}}-Team",
"emails.invitation.subject": "Einladung zum %s-Team auf %s",
"emails.invitation.hello": "Hello,",
"emails.invitation.body": "Du erhälst diese E-Mail, weil {{owner}} dich in das Team {{team}} auf {{project}} eingeladen hat.",
"emails.invitation.footer": "Wenn du nicht interessiert bist, kannst du diese Nachricht ignorieren.",
"emails.invitation.thanks": "Danke,",
+ "emails.invitation.buttonText": "Einladung zu {{team}} annehmen",
"emails.invitation.signature": "{{project}}-Team",
"locale.country.unknown": "Unbekannt",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/el.json b/app/config/locale/translations/el.json
index 1ef9cd30df..3576ffb865 100644
--- a/app/config/locale/translations/el.json
+++ b/app/config/locale/translations/el.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Ακολουθήστε αυτό το link για να επαληθεύσετε τη δ/νση του email σας",
"emails.verification.footer": "Εάν δεν ζητήσατε επαλήθευση αυτής της δ/νσης email, μπορείτε να αγνοήσετε αυτό το μήνυμα",
"emails.verification.thanks": "Ευχαριστούμε,",
+ "emails.verification.buttonText": "Επιβεβαιώστε διεύθυνση email",
"emails.verification.signature": "Η ομάδα του {{project}}",
"emails.magicSession.subject": "Είσοδος",
"emails.magicSession.hello": "Γεια σου,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Ακολουθήστε αυτό το link για να αλλάξετε τον {{project}} κωδικό σας",
"emails.recovery.footer": "Εάν δεν ζητήσατε αλλαγή του κωδικού σας πρόσβασης, μπορείτε να αγνοήσετε αυτό το μήνυμα",
"emails.recovery.thanks": "Ευχαριστούμε,",
+ "emails.recovery.buttonText": "Επαναφορά κωδικού πρόσβασης",
"emails.recovery.signature": "Η ομάδα του {{project}}",
"emails.invitation.subject": "Πρόσκληση στην %s Ομάδα στον %s",
"emails.invitation.hello": "Γεια σου,",
"emails.invitation.body": "Αυτό το email στάλθηκε επειδή ο/η {{owner}} θέλει να σας προσκαλέσει να γίνετε μέλος της ομάδας {{team}} του {{project}}.",
"emails.invitation.footer": "Εάν δεν ενδιαφέρεστε, μπορείτε να αγνοήσετε αυτό το μήνυμα.",
"emails.invitation.thanks": "Ευχαριστούμε,",
+ "emails.invitation.buttonText": "Αποδεχόμενος την πρόσκληση στην {{team}}",
"emails.invitation.signature": "Η ομάδα του {{project}}",
"locale.country.unknown": "Άγνωστο",
"countries.af": "Αφγανιστάν",
diff --git a/app/config/locale/translations/en.json b/app/config/locale/translations/en.json
index d9dfddb017..dbfa2e1be8 100644
--- a/app/config/locale/translations/en.json
+++ b/app/config/locale/translations/en.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Follow this link to verify your email address to your {{b}}{{project}}{{/b}} account.",
"emails.verification.footer": "If you didn’t ask to verify this address, you can ignore this message.",
"emails.verification.thanks": "Thanks,",
+ "emails.verification.buttonText": "Confirm email address",
"emails.verification.signature": "{{project}} team",
"emails.magicSession.subject": "{{project}} Login",
"emails.magicSession.hello": "Hello {{user}},",
@@ -45,12 +46,14 @@
"emails.recovery.body": "Follow this link to reset your {{b}}{{project}}{{/b}} password.",
"emails.recovery.footer": "If you didn't ask to reset your password, you can ignore this message.",
"emails.recovery.thanks": "Thanks,",
+ "emails.recovery.buttonText": "Reset password",
"emails.recovery.signature": "{{project}} team",
"emails.invitation.subject": "Invitation to %s Team at %s",
"emails.invitation.hello": "Hello {{user}},",
"emails.invitation.body": "This mail was sent to you because {{b}}{{owner}}{{/b}} wanted to invite you to become a member of the {{b}}{{team}}{{/b}} team at {{b}}{{project}}{{/b}}.",
"emails.invitation.footer": "If you are not interested, you can ignore this message.",
"emails.invitation.thanks": "Thanks,",
+ "emails.invitation.buttonText": "Accept invite to {{team}}",
"emails.invitation.signature": "{{project}} team",
"emails.certificate.subject": "Certificate failure for %s",
"emails.certificate.hello": "Hello,",
diff --git a/app/config/locale/translations/eo.json b/app/config/locale/translations/eo.json
index ba80bc602d..8aba49098b 100644
--- a/app/config/locale/translations/eo.json
+++ b/app/config/locale/translations/eo.json
@@ -7,6 +7,7 @@
"emails.verification.body": "Alklaku ĉi tiun ligon por kontroli vian retpoŝtan adreson.",
"emails.verification.footer": "Se vi ne petis ĉi tiun konfirmon de ĉi tiu retpoŝto, vi povas ignori ĉi tiun mesaĝon.",
"emails.verification.thanks": "Dankegon.,",
+ "emails.verification.buttonText": "Konfirmi retadreson",
"emails.verification.signature": "Teamo {{project}}",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Saluton,",
@@ -19,12 +20,14 @@
"emails.recovery.body": "Alklaku ĉi tiun ligon por reagordi vian pasvorton. {{project}}",
"emails.recovery.footer": "Se vi ne petis reagordi vian pasvorton, vi povas ignori ĉi tiun mesaĝon.",
"emails.recovery.thanks": "Dankegon,",
+ "emails.recovery.buttonText": "Pasvorton restarigi",
"emails.recovery.signature": "Teamo {{project}}",
"emails.invitation.subject": "Invito al la Teamo %s em %s",
"emails.invitation.hello": "Dankegon,",
"emails.invitation.body": "Ĉi tiu retpoŝto estis sendita ĉar la {{owner}} volas inviti vin fariĝi membro de la Teamo {{team}} en {{project}}.",
"emails.invitation.footer": "Se vi ne interesiĝas, vi povas ignori ĉi tiun mesaĝon.",
"emails.invitation.thanks": "Dankegon,",
+ "emails.invitation.buttonText": "Akcepti inviton al {{team}}",
"emails.invitation.signature": "Teamo {{project}}",
"locale.country.unknown": "Unknown",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/es.json b/app/config/locale/translations/es.json
index ff98fd28c7..e986b15f3c 100644
--- a/app/config/locale/translations/es.json
+++ b/app/config/locale/translations/es.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Haz clic en este enlace para verificar tu correo:",
"emails.verification.footer": "Si no has solicitado verificar este correo, puedes ignorar este mensaje.",
"emails.verification.thanks": "Gracias.,",
+ "emails.verification.buttonText": "Confirmar dirección de correo",
"emails.verification.signature": "El equipo de {{project}}.",
"emails.magicSession.subject": "Inicio de sesión",
"emails.magicSession.hello": "Hola,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Haz clic en este enlace para restablecer la contraseña de {{project}}:",
"emails.recovery.footer": "Si no has solicitado restablecer la contraseña, puedes ignorar este mensaje.",
"emails.recovery.thanks": "Gracias.,",
+ "emails.recovery.buttonText": "Restablecer contraseña",
"emails.recovery.signature": "El equipo de {{project}}",
"emails.invitation.subject": "Invitación al equipo %s en %s",
"emails.invitation.hello": "Hola,",
"emails.invitation.body": "Este correo ha sido enviado a petición de {{owner}} quién quiere invitarte a formar parte del equipo {{team}} en {{project}}.",
"emails.invitation.footer": "Si no estás interesado, puedes ignorar este mensaje.",
"emails.invitation.thanks": "Gracias.,",
+ "emails.invitation.buttonText": "Aceptar invitación a {{team}}",
"emails.invitation.signature": "El equipo de {{project}}",
"locale.country.unknown": "Desconocido",
"countries.af": "Afganistán",
diff --git a/app/config/locale/translations/fa.json b/app/config/locale/translations/fa.json
index f826a75118..9434b9ff03 100644
--- a/app/config/locale/translations/fa.json
+++ b/app/config/locale/translations/fa.json
@@ -8,6 +8,7 @@
"emails.verification.body": "برای تأیید ایمیلتان پیوند زیر را دنبال کنید.",
"emails.verification.footer": "اگر شما درخواست تأیید حساب ندادهاید، میتوانید این پیام را نادیده بگیرید.",
"emails.verification.thanks": "سپاس فراوان،",
+ "emails.verification.buttonText": "آدرس ایمیل را تایید کنید",
"emails.verification.signature": "تیم {{user}}",
"emails.magicSession.subject": "ورود به حساب کاربری",
"emails.magicSession.hello": "سلام،",
@@ -20,12 +21,14 @@
"emails.recovery.body": "برای بازیابی گذرواژهتان پیوند زیر را دنبال کنید.",
"emails.recovery.footer": "اگر شما درخواست بازیابی گذرواژه ندادهاید، میتوانید این پیام را نادیده بگیرید.",
"emails.recovery.thanks": "سپاس فراوان،",
+ "emails.recovery.buttonText": "بازنشانی رمز عبور",
"emails.recovery.signature": "تیم {{user}}",
"emails.invitation.subject": "دعوت به تیم %s در %s",
"emails.invitation.hello": "سلام،",
"emails.invitation.body": "این ایمیل برای شما فرستاده شدهاست زیرا {{owner}} میخواهد شما را به تیم {{team}} در پروژهی {{project}} بیفزاید.",
"emails.invitation.footer": "اگر علاقه ندارید، میتوانید این پیام را نادیده بگیرید.",
"emails.invitation.thanks": "سپاس فراوان،",
+ "emails.invitation.buttonText": "دعوت را به {{team}} بپذیرید",
"emails.invitation.signature": "تیم {{user}}",
"locale.country.unknown": "ناشناخته",
"countries.af": "افغانستان",
diff --git a/app/config/locale/translations/fr.json b/app/config/locale/translations/fr.json
index 1b60cb1910..3af7193764 100644
--- a/app/config/locale/translations/fr.json
+++ b/app/config/locale/translations/fr.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Suivez ce lien pour vérifier votre adresse e-mail.",
"emails.verification.footer": "Si vous n'avez pas demandé à vérifier cette adresse, vous pouvez ignorer ce message.",
"emails.verification.thanks": "Merci,",
+ "emails.verification.buttonText": "Confirmez l'adresse e-mail",
"emails.verification.signature": "Équipe {{project}}",
"emails.magicSession.subject": "Connexion",
"emails.magicSession.hello": "Bonjour,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Suivez ce lien pour réinitialiser votre mot de passe pour {{project}}.",
"emails.recovery.footer": "Si vous n'avez pas demandé à réinitialiser votre mot de passe, vous pouvez ignorer ce message.",
"emails.recovery.thanks": "Merci,",
+ "emails.recovery.buttonText": "Réinitialisation du mot de passe",
"emails.recovery.signature": "L'équipe {{project}}",
"emails.invitation.subject": "Invitation à l'équipe %s de %s",
"emails.invitation.hello": "Bonjour,",
"emails.invitation.body": "Cet e-mail vous a été envoyé parce que {{owner}} souhaite vous inviter à devenir membre de l'équipe {{team}} pour {{project}}.",
"emails.invitation.footer": "Si vous n'êtes pas intéressé, vous pouvez ignorer ce message.",
"emails.invitation.thanks": "Merci,",
+ "emails.invitation.buttonText": "Accepter l'invitation à {{team}}",
"emails.invitation.signature": "L'équipe {{project}}",
"locale.country.unknown": "Inconnu",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/ga.json b/app/config/locale/translations/ga.json
index 3ed68ad8c3..c486e77126 100644
--- a/app/config/locale/translations/ga.json
+++ b/app/config/locale/translations/ga.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Lean an nasc seo chun do ríomhphost a fhíorú.",
"emails.verification.footer": "Mura ndearna tú iarratas an seoladh seo a fhíoru, déan neamhaird den teachtaireacht seo.",
"emails.verification.thanks": "Go raibh maith agat,",
+ "emails.verification.buttonText": "Deimhnigh seoladh ríomhphoist",
"emails.verification.signature": "{{project}} foireann",
"emails.magicSession.subject": "Logáil isteach",
"emails.magicSession.hello": "Haigh,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Lean an nasc seo chun do pasfhocal {{project}} a athshocrú.",
"emails.recovery.footer": "Mura ndearna tú iarratas do pasfhocal a athshocrú, déan neamhaird den teachtaireacht seo.",
"emails.recovery.thanks": "Go raibh maith agat,",
+ "emails.recovery.buttonText": "Athshocraigh focal faire",
"emails.recovery.signature": "{{project}} foireann",
"emails.invitation.subject": "Cuireadh do %s foireann ag %s",
"emails.invitation.hello": "Haigh,",
"emails.invitation.body": "Seoladh an ríomhphost seo chugat mar ba mhaith le {{owner}} cuireadh a thabhairt duit bheith mar bhall den fhoireann {{team}} ag obair ar {{project}}.",
"emails.invitation.footer": "Is cuma leat? Déan neamhaird den teachtaireacht seo.",
"emails.invitation.thanks": "Go raibh maith agat,",
+ "emails.invitation.buttonText": "Glac le cuireadh chuig {{team}}",
"emails.invitation.signature": "{{project}} foireann",
"locale.country.unknown": "Neamhaithnid",
"countries.af": "An Afganastáin",
diff --git a/app/config/locale/translations/gu.json b/app/config/locale/translations/gu.json
index 54378caa9e..8d5d2fb8d6 100644
--- a/app/config/locale/translations/gu.json
+++ b/app/config/locale/translations/gu.json
@@ -8,6 +8,7 @@
"emails.verification.body": "તમારું ઇમેઇલ સરનામું ચકાસવા માટે આ લિંકને અનુસરો.",
"emails.verification.footer": "જો તમે આ સરનામાંની ચકાસણી કરવાનું ન કહ્યું હોય, તો તમે આ સંદેશને અવગણી શકો છો.",
"emails.verification.thanks": "આભાર,",
+ "emails.verification.buttonText": "ઇમેઇલ સરનામું ખાતરી કરો",
"emails.verification.signature": "{{project}} ટીમ",
"emails.magicSession.subject": "પ્રવેશ કરો",
"emails.magicSession.hello": "નમસ્કાર,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "તમારો {{project}} પાસવર્ડ ફરીથી સેટ કરવા માટે આ લિંકને અનુસરો.",
"emails.recovery.footer": "જો તમે તમારો પાસવર્ડ ફરીથી સેટ કરવાનું ન કહ્યું હોય, તો તમે આ સંદેશને અવગણી શકો છો.",
"emails.recovery.thanks": "આભાર,",
+ "emails.recovery.buttonText": "પાસવર્ડ રીસેટ કરો",
"emails.recovery.signature": "{{project}} ટીમ",
"emails.invitation.subject": "%s ટીમને %s પર આમંત્રણ",
"emails.invitation.hello": "નમસ્કાર,",
"emails.invitation.body": "આ મેઇલ તમને મોકલવામાં આવ્યો હતો કારણ કે {{owner}} તમને {{project}} માં {{team}} ટીમના સભ્ય બનવા માટે આમંત્રિત કરવા માંગતા હતો.",
"emails.invitation.footer": "જો તમને રસ નથી, તો તમે આ સંદેશને અવગણી શકો છો.",
"emails.invitation.thanks": "આભાર,",
+ "emails.invitation.buttonText": "{{team}} નું આમંત્રણ સ્વીકારો",
"emails.invitation.signature": "{{project}} ટીમ",
"locale.country.unknown": "અજાણ",
"countries.af": "અફઘાનિસ્તાન",
diff --git a/app/config/locale/translations/he.json b/app/config/locale/translations/he.json
index b3d4dea2a8..8e5279e5e4 100644
--- a/app/config/locale/translations/he.json
+++ b/app/config/locale/translations/he.json
@@ -8,6 +8,7 @@
"emails.verification.body": "לחץ על קישור זה כדי לאמת את כתובת הדוא\"ל שלך.",
"emails.verification.footer": "אם לא ביקשת לאמת כתובת זו, תוכל להתעלם מהודעה זו.",
"emails.verification.thanks": "תודה,",
+ "emails.verification.buttonText": "אשר כתובת דוא\"ל",
"emails.verification.signature": "צוות {{project}}",
"emails.magicSession.subject": "כניסה למערכת",
"emails.magicSession.hello": "שלום,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "עקוב אחר קישור זה כדי לאפס את סיסמתך ב-{{project}}.",
"emails.recovery.footer": "אם לא ביקשת לאפס את הסיסמה, תוכל להתעלם מהודעה זו.",
"emails.recovery.thanks": "תודה,",
+ "emails.recovery.buttonText": "סיסמא איפוס",
"emails.recovery.signature": "צוות {{project}}",
"emails.invitation.subject": "הזמנה לצוות %s ב- %s",
"emails.invitation.hello": "שלום,",
"emails.invitation.body": "דואר זה נשלח אליך מכיוון ש {{owner}} רצה להזמין אותך להיות חבר בצוות {{team}} ב-{{project}}.",
"emails.invitation.footer": "אם אינך מעוניין, תוכל להתעלם מהודעה זו.",
"emails.invitation.thanks": "תודה,",
+ "emails.invitation.buttonText": "אשר הזמנה ל-{{team}}",
"emails.invitation.signature": "צוות {{project}}",
"locale.country.unknown": "לא ידוע",
"countries.af": "אפגניסטן",
diff --git a/app/config/locale/translations/hi.json b/app/config/locale/translations/hi.json
index 1c4d531d60..ef71e287cd 100644
--- a/app/config/locale/translations/hi.json
+++ b/app/config/locale/translations/hi.json
@@ -8,6 +8,7 @@
"emails.verification.body": "इस लिंक के माध्यम से अपने ईमेल को सत्यापित कीजिये।",
"emails.verification.footer": "यदि आप इस पते को सत्यापित नहीं करना चाहते हैं, तो आप इस संदेश को नज़रअंदाज़ कर सकते हैं।",
"emails.verification.thanks": "धन्यवाद,",
+ "emails.verification.buttonText": "ईमेल पता सत्यापित करें",
"emails.verification.signature": "{{project}} टीम",
"emails.magicSession.subject": "लॉग इन",
"emails.magicSession.hello": "नमस्ते,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "इस लिंक के माध्यम से अपना {{project}} पासवर्ड रीसेट करें।",
"emails.recovery.footer": "यदि आप अपना पासवर्ड रीसेट नहीं करना चाहते हैं, तो आप इस संदेश को नज़रअंदाज़ कर सकते हैं।",
"emails.recovery.thanks": "धन्यवाद,",
+ "emails.recovery.buttonText": "पासवर्ड रीसेट करें",
"emails.recovery.signature": "{{project}} टीम",
"emails.invitation.subject": "%s टीम का यहाँ %s पर आमंत्रण",
"emails.invitation.hello": "नमस्ते,",
"emails.invitation.body": "यह मेल आपको इसलिए भेजा गया है क्योंकि {{owner}} आपको {{team}} टीम का सदस्य बनाना चाहते है, जो {{project}} से जुड़ा हुआ है।",
"emails.invitation.footer": "यदि आप इसमें रूचि नहीं रखते, तो आप इस संदेश को नज़रअंदाज़ कर सकते हैं।",
"emails.invitation.thanks": "धन्यवाद,",
+ "emails.invitation.buttonText": "{{team}} का निमंत्रण स्वीकार करें",
"emails.invitation.signature": "{{project}} टीम",
"locale.country.unknown": "अज्ञात",
"countries.af": "अफ़ग़ानिस्तान",
diff --git a/app/config/locale/translations/hr.json b/app/config/locale/translations/hr.json
index e5bf4719a9..8331d67422 100644
--- a/app/config/locale/translations/hr.json
+++ b/app/config/locale/translations/hr.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Slijedite ovu poveznicu da biste potvrdili svoju adresu e-pošte.",
"emails.verification.footer": "Ukoliko niste zatražili potvrdu ove adrese, možete zanemariti ovu poruku.",
"emails.verification.thanks": "Hvala,",
+ "emails.verification.buttonText": "Potvrdi adresu e-pošte",
"emails.verification.signature": "{{project}} tim",
"emails.magicSession.subject": "Prijavite se",
"emails.magicSession.hello": "Pozdrav,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Slijedite ovu poveznicu za ponovno postavljanje {{project}} lozinke.",
"emails.recovery.footer": "Ako niste zatražili ponovno postavljanje Vaše lozinke, možete zanemariti ovu poruku.",
"emails.recovery.thanks": "Hvala,",
+ "emails.recovery.buttonText": "Resetiraj lozinku",
"emails.recovery.signature": "{{project}} tim",
"emails.invitation.subject": "Pozivnica za %s tim na %s",
"emails.invitation.hello": "Pozdrav,",
"emails.invitation.body": "Ova poruka Vam je poslana jer Vas je {{owner}} htio pozvati da postanete član {{team}} tima na {{project}}.",
"emails.invitation.footer": "Ukoliko niste zainteresirani, možete zanemariti ovu poruku.",
"emails.invitation.thanks": "Hvala,",
+ "emails.invitation.buttonText": "Prihvati pozivnicu za {{team}}",
"emails.invitation.signature": "{{project}} tim",
"locale.country.unknown": "Nepoznato",
"countries.af": "Afganistan",
diff --git a/app/config/locale/translations/hu.json b/app/config/locale/translations/hu.json
index 589cb61859..c21701a509 100644
--- a/app/config/locale/translations/hu.json
+++ b/app/config/locale/translations/hu.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Kattints a linkre, hogy megerősítsd az email címedet.",
"emails.verification.footer": "Ha nem te kérted a címed megerősítését, akkor nyugodtan hagyd figyelmen kívül ezt az üzenetet.",
"emails.verification.thanks": "Köszönettel,",
+ "emails.verification.buttonText": "E-mail-cím megerősítése",
"emails.verification.signature": "a {{project}} csapat",
"emails.magicSession.subject": "Bejelentkezés",
"emails.magicSession.hello": "Szia,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Kattints a linkre a {{project}} jelszavad visszaállításához.",
"emails.recovery.footer": "Ha nem te kezdeményezted a jelszavad visszaállítását, akkor nyugodtan hagyd figyelmen kívül ezt az üzenetet.",
"emails.recovery.thanks": "Köszönettel,",
+ "emails.recovery.buttonText": "Jelszó visszaállítása",
"emails.recovery.signature": "a {{project}} csapat",
"emails.invitation.subject": "Meghívó a(z) %s csapatba, a(z) %s projektbe",
"emails.invitation.hello": "Szia,",
"emails.invitation.body": "Ezt a levelet azért kaptad, mert {{owner}} meghívott, hogy légy a {{team}} csapat tagja a {{project}} projektben.",
"emails.invitation.footer": "Ha nem érdekel a lehetőség, nyugodtan hagyd figyelmen kívül ezt az üzenetet.",
"emails.invitation.thanks": "Köszönettel,",
+ "emails.invitation.buttonText": "Elfogadni meghívást a {{team}-re",
"emails.invitation.signature": "a {{project}} csapat",
"locale.country.unknown": "Ismeretlen",
"countries.af": "Afganisztán",
diff --git a/app/config/locale/translations/id.json b/app/config/locale/translations/id.json
index c28b15f15d..836941f79a 100644
--- a/app/config/locale/translations/id.json
+++ b/app/config/locale/translations/id.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Ikuti tautan ini untuk memverifikasi alamat email Anda.",
"emails.verification.footer": "Jika Anda tidak meminta untuk memverifikasi alamat email ini, Anda dapat mengabaikan pesan ini.",
"emails.verification.thanks": "Terima kasih,",
+ "emails.verification.buttonText": "Konfirmasi alamat email",
"emails.verification.signature": "Tim {{project}}",
"emails.magicSession.subject": "Masuk",
"emails.magicSession.hello": "Hai,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Ikuti tautan ini untuk menyetel ulang kata sandi {{project}} Anda.",
"emails.recovery.footer": "Jika Anda tidak meminta untuk menyetel ulang kata sandi, Anda dapat mengabaikan pesan ini.",
"emails.recovery.thanks": "Terima kasih,",
+ "emails.recovery.buttonText": "Atur ulang kata sandi",
"emails.recovery.signature": "Tim {{project}}",
"emails.invitation.subject": "Undangan ke Tim %s di %s",
"emails.invitation.hello": "Halo,",
"emails.invitation.body": "Email ini dikirimkan kepada Anda karena {{owner}} ingin mengundang Anda untuk menjadi anggota tim {{team}} di {{project}}.",
"emails.invitation.footer": "Jika Anda tidak tertarik, Anda dapat mengabaikan pesan ini.",
"emails.invitation.thanks": "Terima kasih,",
+ "emails.invitation.buttonText": "Terima undangan ke {{team}}",
"emails.invitation.signature": "Tim {{project}}",
"locale.country.unknown": "Tidak diketahui",
"countries.af": "Afganistan",
diff --git a/app/config/locale/translations/it.json b/app/config/locale/translations/it.json
index 8d45de9903..f0e290b481 100644
--- a/app/config/locale/translations/it.json
+++ b/app/config/locale/translations/it.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Clicca questo link per verificare il tuo indirizzo email.",
"emails.verification.footer": "Se non hai richiesto la verifica dell’indirizzo email, puoi ignorare questo messaggio.",
"emails.verification.thanks": "Grazie,",
+ "emails.verification.buttonText": "Confermare l'indirizzo email",
"emails.verification.signature": "Il team {{project}}",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Ciao,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Clicca questo link per reimpostare la tua password di {{project}}.",
"emails.recovery.footer": "Se non hai richiesto la reimpostazione della password, puoi ignorare questo messaggio.",
"emails.recovery.thanks": "Grazie,",
+ "emails.recovery.buttonText": "Reimposta password",
"emails.recovery.signature": "Il team {{project}}",
"emails.invitation.subject": "Invito al Team %s per %s",
"emails.invitation.hello": "Ciao,",
"emails.invitation.body": "Hai ricevuto questa email perché {{owner}} ti ha invitato a diventare un membro del team {{team}} di {{project}}.",
"emails.invitation.footer": "Ignora questo messaggio se non sei interessatə.",
"emails.invitation.thanks": "Grazie,",
+ "emails.invitation.buttonText": "Accetta invito a {{team}}",
"emails.invitation.signature": "Il team {{project}}",
"locale.country.unknown": "Sconosciuto",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/ja.json b/app/config/locale/translations/ja.json
index 76d9a0cb1f..f3ad8fe1ed 100644
--- a/app/config/locale/translations/ja.json
+++ b/app/config/locale/translations/ja.json
@@ -8,6 +8,7 @@
"emails.verification.body": "メールアドレスを有効化するためには下記リンクをクリックして下さい。",
"emails.verification.footer": "このメールに心当たりが無い場合は破棄をお願いいたします。",
"emails.verification.thanks": "ご利用いただきありがとうございます。、",
+ "emails.verification.buttonText": "メールアドレスを確認する",
"emails.verification.signature": "{{project}}チーム",
"emails.magicSession.subject": "ログイン",
"emails.magicSession.hello": "こんにちは、",
@@ -20,12 +21,14 @@
"emails.recovery.body": "パスワードをリセットするためには下記リンクをクリックしてください。",
"emails.recovery.footer": "このメールに心当たりが無い場合は破棄をお願いいたします。",
"emails.recovery.thanks": "ご利用いただきありがとうございます。、",
+ "emails.recovery.buttonText": "パスワードをリセット",
"emails.recovery.signature": "{{project}}チーム",
"emails.invitation.subject": "%sチームへの招待が%sから来ました。",
"emails.invitation.hello": "こんにちは、",
"emails.invitation.body": "{{owner}}さんが{{project}}の{{team}}チームにあなたを招待しています。",
"emails.invitation.footer": "このメールに心当たりが無い場合は破棄をお願いいたします。",
"emails.invitation.thanks": "ご利用いただきありがとうございます。、",
+ "emails.invitation.buttonText": "{{team}}への招待を承諾する",
"emails.invitation.signature": "{{project}}チーム",
"locale.country.unknown": "不明",
"countries.af": "アフガニスタン",
diff --git a/app/config/locale/translations/jv.json b/app/config/locale/translations/jv.json
index 889e968b4d..71d4f4b24a 100644
--- a/app/config/locale/translations/jv.json
+++ b/app/config/locale/translations/jv.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Klik link iki kanggo verifikasi alamat email sampeyan.",
"emails.verification.footer": "Yen sampeyan ora njaluk verifikasi alamat iki, sampeyan iso nglirwakake pesen iki.",
"emails.verification.thanks": "Matur nuwun,",
+ "emails.verification.buttonText": "Konfirmasi alamat email",
"emails.verification.signature": "Tim {{project}}",
"emails.magicSession.subject": "Masuk",
"emails.magicSession.hello": "Hai,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Klik link iki kanggo setel ulang sandi {{project}}.",
"emails.recovery.footer": "Yen sampeyan ora njaluk setel ulang sandi, sampeyan iso nglirwakake pesen iki.",
"emails.recovery.thanks": "Matur nuwun,",
+ "emails.recovery.buttonText": "Reset sandhi",
"emails.recovery.signature": "Tim {{project}}",
"emails.invitation.subject": "Undangan ke Tim %s di %s",
"emails.invitation.hello": "Halo,",
"emails.invitation.body": "Email iki dikirim menyang sampeyan amarga {{owner}} pengin ngajak sampeyan dadi anggota tim {{team}} di {{project}}.",
"emails.invitation.footer": "Yen sampeyan ora tertarik, sampeyan iso nglirwakake pesen iki.",
"emails.invitation.thanks": "Matur nuwun,",
+ "emails.invitation.buttonText": "Tampa undhangan menyang {{team}}",
"emails.invitation.signature": "Tim {{project}}",
"locale.country.unknown": "Ora dingerteni",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/kn.json b/app/config/locale/translations/kn.json
index ba57c21155..ed35a7947f 100644
--- a/app/config/locale/translations/kn.json
+++ b/app/config/locale/translations/kn.json
@@ -8,6 +8,7 @@
"emails.verification.body": "ನಿಮ್ಮ ಇಮೇಲ್ ವಿಳಾಸ ಪರಿಶೀಲನೆಗೆ ಈ ಲಿಂಕನ್ನು ಅನುಸರಿಸಿ",
"emails.verification.footer": "ನೀವು ಇಮೇಲ್ ವಿಳಾಸ ಪರಿಶೀಲನೆಗೆ ಕೇಳದಿದ್ದರೆ, ಈ ಸಂದೇಶವನ್ನು ನಿರ್ಲಕ್ಷಿಸಿ",
"emails.verification.thanks": "ಧನ್ಯವಾದಗಳು,",
+ "emails.verification.buttonText": "ಇಮೇಲ್ ವಿಳಾಸವನ್ನು ದೃಢೀಕರಿಸಿ",
"emails.verification.signature": "{{project}} ತಂಡ",
"emails.magicSession.subject": "ಲಾಗಿನ್",
"emails.magicSession.hello": "ನಮಸ್ಕಾರ,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "ನಿಮ್ಮ {{project}} ಗುಪ್ತಪದವನ್ನು ಮರುಹೊಂದಿಸಲು ಈ ಲಿಂಕನ್ನು ಅನುಸರಿಸಿ",
"emails.recovery.footer": "ನೀವು ಗುಪ್ತಪದವನ್ನು ಮರುಹೊಂದಿಸಲು ಕೇಳದಿದ್ದರೆ, ಈ ಸಂದೇಶವನ್ನು ನಿರ್ಲಕ್ಷಿಸಿ",
"emails.recovery.thanks": "ಧನ್ಯವಾದಗಳು,",
+ "emails.recovery.buttonText": "ಗುಪ್ತಪದವನ್ನು ಮರುಸೆಟ್ ಮಾಡಿ",
"emails.recovery.signature": "{{project}} ತಂಡ",
"emails.invitation.subject": "%s ತಂಡಕ್ಕೆ %s ರಲ್ಲಿ ಆಹ್ವಾನ",
"emails.invitation.hello": "ನಮಸ್ಕಾರ,",
"emails.invitation.body": "ಈ ಇಮೇಲ್ ನಿಮಗೆ ಬಂದಿದೆ ಏಕೆಂದರೆ {{owner}} ನಿಮ್ಮನ್ನು {{team}} ತಂಡದ {{project}}ರಲ್ಲಿ ಸದಸ್ಯ ಆಗಲಿಕ್ಕೆ ಆಹ್ವಾನಿಸಿದ್ದಾರೆ",
"emails.invitation.footer": "ನಿಮಗೆ ಆಸಕ್ತಿಯಿಲ್ಲದಿದ್ದರೆ, ಈ ಸಂದೇಶವನ್ನು ನಿರ್ಲಕ್ಷಿಸಿ",
"emails.invitation.thanks": "ಧನ್ಯವಾದಗಳು,",
+ "emails.invitation.buttonText": "{{team}} ಗೆ ಆಹ್ವಾನವನ್ನು ಸ್ವೀಕರಿಸಿ",
"emails.invitation.signature": "{{project}} ತಂಡ",
"locale.country.unknown": "Unknown",
"countries.af": "ಅಫ್ಘಾನಿಸ್ತಾನ",
diff --git a/app/config/locale/translations/ko.json b/app/config/locale/translations/ko.json
index c33c961130..0bc425aeae 100644
--- a/app/config/locale/translations/ko.json
+++ b/app/config/locale/translations/ko.json
@@ -8,6 +8,7 @@
"emails.verification.body": "이메일 인증을 위해 링크를 클릭하여주세요.",
"emails.verification.footer": "이메일 인증을 부탁하지 않으셨다면 이 메시지를 무시하여주세요.",
"emails.verification.thanks": "감사합니다、",
+ "emails.verification.buttonText": "이메일 주소를 확인합니다",
"emails.verification.signature": "{{project}} 팀",
"emails.magicSession.subject": "로그인",
"emails.magicSession.hello": "안녕하세요、",
@@ -20,12 +21,14 @@
"emails.recovery.body": "{{project}}의 비밀번호 재설정을 위해 링크를 클릭하여주세요.",
"emails.recovery.footer": "비밀번호 재설정 신청을 하지 않으셨다면 이 메세지를 무시하여주세요.",
"emails.recovery.thanks": "감사합니다、",
+ "emails.recovery.buttonText": "비밀번호 재설정",
"emails.recovery.signature": "{{project}} 팀",
"emails.invitation.subject": "초대장 %s 팀 - %s",
"emails.invitation.hello": "안녕하세요、",
"emails.invitation.body": "{{owner}}님이 귀하를 {{project}}의 {{team}} 팀으로 초대합니다.",
"emails.invitation.footer": "팀에 합류할 의사가 없으시면 이 메세지를 무시하여주세요.",
"emails.invitation.thanks": "감사합니다、",
+ "emails.invitation.buttonText": "{{team}} 초대를 수락하기",
"emails.invitation.signature": "{{project}} 팀",
"locale.country.unknown": "알려지지 않은",
"countries.af": "아프가니스탄",
diff --git a/app/config/locale/translations/la.json b/app/config/locale/translations/la.json
index bebef26854..fe3e7930e2 100644
--- a/app/config/locale/translations/la.json
+++ b/app/config/locale/translations/la.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Sequere hanc nexum ut quin inscriptionem tuum.",
"emails.verification.footer": "Si verificationem huius inscriptionis non postulasti, nuntium hunc ignorare potes.",
"emails.verification.thanks": "Gratias,",
+ "emails.verification.buttonText": "Confirma inscriptionem electronicam",
"emails.verification.signature": "{{project}} Team",
"emails.magicSession.subject": "Log in",
"emails.magicSession.hello": "Salve ibi,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Sequere hanc conjunctionem ut recipias project password {{project}}",
"emails.recovery.footer": "Si tesseram tuam recuperare non petis, nuntium hunc ignorare potes",
"emails.recovery.thanks": "Gratias,",
+ "emails.recovery.buttonText": "Reset password",
"emails.recovery.signature": "{{project}} team",
"emails.invitation.subject": "Invitatio pro %s in quadrigis %s",
"emails.invitation.hello": "Salve ibi,",
"emails.invitation.body": "Haec inscriptio ad te missa est quia dominus incepto {{owner}} te invitare vult ut membrum {{team}} quadrigis fias ad {{project}}",
"emails.invitation.footer": "Si non quaero, potes hunc nuntium ignorare",
"emails.invitation.thanks": "Gratias,",
+ "emails.invitation.buttonText": "Accipe invitare ad {{team}}",
"emails.invitation.signature": "{{project}} team",
"locale.country.unknown": "Ignotum",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/lb.json b/app/config/locale/translations/lb.json
index 91b52e4a18..8fe4b346e7 100644
--- a/app/config/locale/translations/lb.json
+++ b/app/config/locale/translations/lb.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Follegt dëse Link fir Är E -Mail Adress z'iwwerpréiwen.",
"emails.verification.footer": "Wann Dir net gefrot hutt dës Adress z'iwwerpréiwen, kënnt Dir dëse Message ignoréieren.",
"emails.verification.thanks": "Merci,",
+ "emails.verification.buttonText": "E-Mail-Adress bestätegen",
"emails.verification.signature": "{{project}} équipe",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Hey,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Follegt dëse Link fir Äert {{project}} Passwuert zréckzesetzen.",
"emails.recovery.footer": "Wann Dir net gefrot hutt Äert Passwuert zréckzesetzen, kënnt Dir dëse Message ignoréieren.",
"emails.recovery.thanks": "Merci,",
+ "emails.recovery.buttonText": "Passwuert zrécksetzen",
"emails.recovery.signature": "{{project}} équipe",
"emails.invitation.subject": "Invitatioun un %s équipe bei %s",
"emails.invitation.hello": "Hallo,",
"emails.invitation.body": "Dës E -Mail gouf un Iech geschéckt well {{owner}} Iech invitéiere wëllt fir Member vum {{team}} Team bei {{project}} ze ginn.",
"emails.invitation.footer": "Wann Dir net interesséiert sidd, kënnt Dir dëse Message ignoréieren.",
"emails.invitation.thanks": "Merci,",
+ "emails.invitation.buttonText": "Invitatioun bei {{team}} akzeptéieren",
"emails.invitation.signature": "{{project}} équipe",
"locale.country.unknown": "Onbekannt",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/lt.json b/app/config/locale/translations/lt.json
index 94c874ce82..2439428b02 100644
--- a/app/config/locale/translations/lt.json
+++ b/app/config/locale/translations/lt.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Spauskite šią nuorodą, kad patvirtintumėte savo el. paštą.",
"emails.verification.footer": "Jei neprašėte patvirtinti šio el. pašto, galite ignoruoti šį pranešimą.",
"emails.verification.thanks": "Ačiū,",
+ "emails.verification.buttonText": "Patvirtinti el. pašto adresą",
"emails.verification.signature": "{{project}} komanda",
"emails.magicSession.subject": "Prisijungti",
"emails.magicSession.hello": "Labas,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Spauskite šią nuorodą, kad atkurtumėte projekto {{project}} slaptažodį.",
"emails.recovery.footer": "Jei neprašėte atkurti savo slaptažodzio, galite ignoruoti šį pranešimą.",
"emails.recovery.thanks": "Ačiū,",
+ "emails.recovery.buttonText": "Atstatyti slaptažodį",
"emails.recovery.signature": "{{project}} komanda",
"emails.invitation.subject": "Pakvietimas į %s komandą %s projekte",
"emails.invitation.hello": "Labas,",
"emails.invitation.body": "Šis el. laiškas buvo atsiųstas jums, nes {{owner}} norėjo jus pakviesti tapti projekto {{project}} dalimi {{team}} komandoje.",
"emails.invitation.footer": "Jei jūsų tai nedomina, galite ignoruoti šį pranešimą.",
"emails.invitation.thanks": "Ačiū,",
+ "emails.invitation.buttonText": "Priimti kvietimą į {{team}}",
"emails.invitation.signature": "{{project}} komanda",
"locale.country.unknown": "Nežinoma",
"countries.af": "Afganistanas",
diff --git a/app/config/locale/translations/lv.json b/app/config/locale/translations/lv.json
index b4a396367c..59edfce7a6 100644
--- a/app/config/locale/translations/lv.json
+++ b/app/config/locale/translations/lv.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Sekojiet saitei, lai apstiprinātu savu e-pasta adresi.",
"emails.verification.footer": "Ja Jūs nepieprasījāt šīs adreses apstiprinājumu, lūdzu, ignorējiet šo ziņu.",
"emails.verification.thanks": "Paldies,",
+ "emails.verification.buttonText": "Apstiprināt e-pasta adresi",
"emails.verification.signature": "{{project}} komanda",
"emails.magicSession.subject": "Ieiet",
"emails.magicSession.hello": "Sveicināti,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Sekojiet saitei, lai atjauninātu {{project}} paroli.",
"emails.recovery.footer": "Ja Jūs nepieprasījāt paroles atjaunināšanu, lūdzu, ignorējiet šo ziņu.",
"emails.recovery.thanks": "Paldies,",
+ "emails.recovery.buttonText": "Atiestatīt paroli",
"emails.recovery.signature": "{{project}} komanda",
"emails.invitation.subject": "Ielūgums piebiedroties %s komandai %s projektā.",
"emails.invitation.hello": "Labdien,",
"emails.invitation.body": "Šis e-pasts tika nosūtīts Jums, jo {{owner}} vēlējās Jūs ielūgt kļūt par {{team}} komandas biedru {{project}} projektā.",
"emails.invitation.footer": "Ja Jūs neesat ieinteresēts, lūdzu, ignorējiet šo ziņu.",
"emails.invitation.thanks": "Paldies,",
+ "emails.invitation.buttonText": "Pieņemt ielūgumu uz {{team}}",
"emails.invitation.signature": "{{project}} komanda",
"locale.country.unknown": "Nav zināms",
"countries.af": "Afganistāna",
diff --git a/app/config/locale/translations/ml.json b/app/config/locale/translations/ml.json
index 1b57d87865..bd13f92fa8 100644
--- a/app/config/locale/translations/ml.json
+++ b/app/config/locale/translations/ml.json
@@ -8,6 +8,7 @@
"emails.verification.body": "നിങ്ങളുടെ ഇമെയിൽ വിലാസം സ്ഥിരീകരിക്കുന്നതിനായി ഈ ലിങ്ക് പിന്തുടരുക.",
"emails.verification.footer": "ഈ വിലാസം സ്ഥിരീകരിക്കാന് നിങ്ങൾ ആവശ്യപ്പെട്ടില്ലെങ്കിൽ, നിങ്ങൾക്ക് ഈ സന്ദേശം അവഗണിക്കാവുന്നതാണ്.",
"emails.verification.thanks": "നന്ദി,",
+ "emails.verification.buttonText": "ഇമെയിൽ വിലാസം സ്ഥിരീകരിക്കുക",
"emails.verification.signature": "{{project}} ടീം",
"emails.magicSession.subject": "ലോഗിൻ",
"emails.magicSession.hello": "നമസ്കാരം,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "നിങ്ങളുടെ {{Project}} രഹസ്യവാക്ക് പുനക്രമീകരിക്കുന്നതിന് ഈ ലിങ്ക് പിന്തുടരുക.",
"emails.recovery.footer": "നിങ്ങളുടെ രഹസ്യവാക്ക് പുനക്രമീകരിക്കാന് നിങ്ങൾ ആവശ്യപ്പെട്ടില്ലെങ്കിൽ, ഈ സന്ദേശം അവഗണിക്കാവുന്നതാണ്.",
"emails.recovery.thanks": "നന്ദി,",
+ "emails.recovery.buttonText": "പാസ്വേഡ് റീസെറ്റ് ചെയ്യുക",
"emails.recovery.signature": "{{project}} ടീം",
"emails.invitation.subject": "%s -ലെ %s ടീമിലേക്കുള്ള ക്ഷണം",
"emails.invitation.hello": "നമസ്കാരം,",
"emails.invitation.body": "നിങ്ങളെ {{project}} -ലെ {{team}} ടീമിലെ അംഗമാകുവാന് ക്ഷണിക്കാൻ {{owner}} ആഗ്രഹിക്കുന്നതിനാലാണ് ഈ മെയിൽ നിങ്ങൾക്ക് അയക്കുന്നത്.",
"emails.invitation.footer": "നിങ്ങൾക്ക് താൽപ്പര്യമില്ലെങ്കിൽ, ഈ സന്ദേശം അവഗണിക്കാവുന്നതാണ്.",
"emails.invitation.thanks": "നന്ദി,",
+ "emails.invitation.buttonText": "{{team}} ലേക്കുള്ള ക്ഷണം സ്വീകരിക്കുക",
"emails.invitation.signature": "{{project}} ടീം",
"locale.country.unknown": "Unknown",
"countries.af": "അഫ്ഗാനിസ്ഥാൻ",
diff --git a/app/config/locale/translations/mr.json b/app/config/locale/translations/mr.json
index 6550d1c1ba..881afdfe71 100644
--- a/app/config/locale/translations/mr.json
+++ b/app/config/locale/translations/mr.json
@@ -8,6 +8,7 @@
"emails.verification.body": "आपला ईमेल पत्ता सत्यापित करण्यासाठी या दुव्याचे अनुसरण करा.",
"emails.verification.footer": "आपण या पत्त्याची पडताळणी करण्यास सांगितले नसल्यास, आपण या संदेशाकडे दुर्लक्ष करू शकता.",
"emails.verification.thanks": "धन्यवाद,",
+ "emails.verification.buttonText": "ईमेल पत्ता सत्यापित करा",
"emails.verification.signature": "{{project}} संघ",
"emails.magicSession.subject": "लॉगिन करा",
"emails.magicSession.hello": "नमस्कार ,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "आपला {{project}}चे पासवर्ड रीसेट करण्यासाठी या लिंकचे अनुसरण करा",
"emails.recovery.footer": "आपण आपला पासवर्ड रीसेट करण्यास सांगितले नसल्यास, आपण या संदेशाकडे दुर्लक्ष करू शकता.",
"emails.recovery.thanks": "धन्यवाद,",
+ "emails.recovery.buttonText": "पासवर्ड रीसेट करा",
"emails.recovery.signature": "{{project}} संघ",
"emails.invitation.subject": "%s संघ %s येथे सामील होण्यासाठी आमंत्रण",
"emails.invitation.hello": "नमस्कार,",
"emails.invitation.body": "हा मेल तुम्हाला पाठवला होता कारण {{owner}} तुम्हाला {{project}} येथे {{team}} टीमचे सदस्य होण्यासाठी आमंत्रित करू इच्छित होते.",
"emails.invitation.footer": "आपल्याला स्वारस्य नसल्यास, आपण या संदेशाकडे दुर्लक्ष करू शकता.",
"emails.invitation.thanks": "धन्यवाद,",
+ "emails.invitation.buttonText": "{{team}} साठी आमंत्रण स्वीकारा",
"emails.invitation.signature": "{{project}} संघ",
"locale.country.unknown": "अज्ञात",
"countries.af": "अफगानिस्तान",
diff --git a/app/config/locale/translations/ms.json b/app/config/locale/translations/ms.json
index a02c36b075..448307550e 100644
--- a/app/config/locale/translations/ms.json
+++ b/app/config/locale/translations/ms.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Tekan pautan ini untuk mengesahkan alamat email anda.",
"emails.verification.footer": "Sekiranya anda tidak membuat permintaan untuk mengesahkan email ini, sila abaikan mesej ini.",
"emails.verification.thanks": "Terima kasih,",
+ "emails.verification.buttonText": "Sahkan alamat email",
"emails.verification.signature": "{{project}} team",
"emails.magicSession.subject": "Log masuk",
"emails.magicSession.hello": "Hey,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Tekan pautan ini untuk menetapkan semula kata laluan {{project}}.",
"emails.recovery.footer": "Sekiranya anda tidak membuat permintaan menetap semula kata laluan, sila abaikan mesej ini.",
"emails.recovery.thanks": "Terima kasih,",
+ "emails.recovery.buttonText": "Tetapkan semula kata laluan",
"emails.recovery.signature": "{{project}} team",
"emails.invitation.subject": "Jemputan ke pasukan %s di %s",
"emails.invitation.hello": "Hello,",
"emails.invitation.body": "Anda menerima mel ini kerana {{owner}} ingin menjemput anda untuk menjadi ahli pasukan {{team}} di {{project}}.",
"emails.invitation.footer": "Sekiranya anda tidak berminat, sila abaikan mesej ini.",
"emails.invitation.thanks": "Terima kasih,",
+ "emails.invitation.buttonText": "Terima jemputan ke {{team}}",
"emails.invitation.signature": "{{project}} team",
"locale.country.unknown": "Tidak Diketahui",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/nb.json b/app/config/locale/translations/nb.json
index daf18abc1c..cc95bacf9e 100644
--- a/app/config/locale/translations/nb.json
+++ b/app/config/locale/translations/nb.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Følg denne lenken for å bekrefte din e-postadresse.",
"emails.verification.footer": "Dersom du ikke ba om å bekrefte e-postadressen, kan du se bort fra denne meldingen.",
"emails.verification.thanks": "Takk,",
+ "emails.verification.buttonText": "Bekreft e-postadresse",
"emails.verification.signature": "{{project}} team",
"emails.magicSession.subject": "Pålogging",
"emails.magicSession.hello": "Hei,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Følg denne lenken for å nullstille ditt {{project}} passord.",
"emails.recovery.footer": "Dersom du ikke ba om å nullstille passordet ditt, kan du se bort fra denne meldingen.",
"emails.recovery.thanks": "Takk,",
+ "emails.recovery.buttonText": "Tilbakestill passord",
"emails.recovery.signature": "{{project}} team",
"emails.invitation.subject": "Invitasjon til %s Team ved %s",
"emails.invitation.hello": "Hei,",
"emails.invitation.body": "Denne meldingen ble sendt til deg fordi {{owner}} ønsket å invitere deg til å bli medlem av {{team}} team ved {{project}}.",
"emails.invitation.footer": "Dersom du ikke er interessert, kan du se bort fra denne meldingen.",
"emails.invitation.thanks": "Takk,",
+ "emails.invitation.buttonText": "Godta invitasjon til {{team}}",
"emails.invitation.signature": "{{project}} team",
"locale.country.unknown": "Ukjent",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/ne.json b/app/config/locale/translations/ne.json
index 4f05a9b5ba..f1ba841fed 100644
--- a/app/config/locale/translations/ne.json
+++ b/app/config/locale/translations/ne.json
@@ -8,6 +8,7 @@
"emails.verification.body": "इमेल ठेगाना प्रमाणित गर्नको लागी यो लिंकमा जानुहोस।",
"emails.verification.footer": "यदि तपाइँले आफ्नो खाता प्रमाणित गर्न सोध्नु भएको छैन भने तपाइँले यो सन्देश लाई बेवास्ता गर्न सक्नुहुन्छ।",
"emails.verification.thanks": "धन्यवाद,",
+ "emails.verification.buttonText": "इमेल ठेगाना पुष्टि गर्नुहोस्",
"emails.verification.signature": "{{project}} समूह",
"emails.magicSession.subject": "लगइन",
"emails.magicSession.hello": "नमस्ते,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "{{project}}को पासवर्ड रिसेट गर्नको लागी यो लिंकमा जानुहोस।",
"emails.recovery.footer": "यदि तपाइँले आफ्नो पासवर्ड रिसेट गर्न सोध्नु भएको छैन भने तपाइँले यो सन्देश लाई बेवास्ता गर्न सक्नुहुन्छ।",
"emails.recovery.thanks": "धन्यवाद,",
+ "emails.recovery.buttonText": "रिसेट पासवर्ड",
"emails.recovery.signature": "{{project}} समूह",
"emails.invitation.subject": "%s समूहको लागि %s मा निमन्त्रणा",
"emails.invitation.hello": "नमस्ते,",
"emails.invitation.body": "{{owner}}ले तपाइँलाई {{project}}मा {{team}}को सदस्य बन्न आमन्त्रित गर्न चाहनु भएको छ। त्येसैले तपाइँलाई यो सन्देश पठाइएको हो।",
"emails.invitation.footer": "यदि तपाइँ इच्छुक हुनुहुन्न भने, तपाइँले यो सन्देशलाई बेवास्ता गर्न सक्नुहुन्छ।",
"emails.invitation.thanks": "धन्यवाद,",
+ "emails.invitation.buttonText": "{{team}} मा निमन्त्रणा स्वीकार गर्नुहोस्",
"emails.invitation.signature": "{{project}} समूह",
"locale.country.unknown": "अज्ञात",
"countries.af": "अफगानिस्तान",
diff --git a/app/config/locale/translations/nl.json b/app/config/locale/translations/nl.json
index cae82a9a37..4f71f67199 100644
--- a/app/config/locale/translations/nl.json
+++ b/app/config/locale/translations/nl.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Volg deze link om uw e-mail te verifieren",
"emails.verification.footer": "Als u geen aanvraag voor verificatie heeft gemaakt, kan u deze mail negeren",
"emails.verification.thanks": "Bedankt,",
+ "emails.verification.buttonText": "Bevestig e-mailadres",
"emails.verification.signature": "{{project}} team",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Hoi,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Volg deze link om het wachtwoord van uw project {{project}} te wijzigen",
"emails.recovery.footer": "Als u geen aanvraag heeft gemaakt om uw wachtwoord te wijzigen, kan u deze mail negeren",
"emails.recovery.thanks": "Bedankt,",
+ "emails.recovery.buttonText": "Wachtwoord opnieuw instellen",
"emails.recovery.signature": "{{project}} team",
"emails.invitation.subject": "Uitnodiging van %s Team uit %s",
"emails.invitation.hello": "Hallo,",
"emails.invitation.body": "U ontvangt deze mail want u was uitgenodig door {{owner}} om lid van het {{team}} team te worden in {{project}} ",
"emails.invitation.footer": "Als u niet geintereseerd bent, kan u deze mail negeren.",
"emails.invitation.thanks": "Bedankt,",
+ "emails.invitation.buttonText": "Uitnodiging voor {{team}} accepteren",
"emails.invitation.signature": "{{project}} team",
"locale.country.unknown": "Onbekend",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/nn.json b/app/config/locale/translations/nn.json
index 44be0f9845..646a57904c 100644
--- a/app/config/locale/translations/nn.json
+++ b/app/config/locale/translations/nn.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Følg denne lenkja for å bekrefta din e-postadresse.",
"emails.verification.footer": "Om du ikkje bad om å bekrefta e-postadressa, kan du ignorera denne meldinga.",
"emails.verification.thanks": "Takk,",
+ "emails.verification.buttonText": "Stadfest e-postadresse",
"emails.verification.signature": "{{project}} team",
"emails.magicSession.subject": "Pålogging",
"emails.magicSession.hello": "Hei,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Følg denne lenkja for å nullstilla ditt {{project}} passord.",
"emails.recovery.footer": "Om du ikkje ba om å nullstilla passordet ditt, kan du ignorera denne meldinga.",
"emails.recovery.thanks": "Takk,",
+ "emails.recovery.buttonText": "Nullstill passord",
"emails.recovery.signature": "{{project}} team",
"emails.invitation.subject": "Innbyding til %s Team ved %s",
"emails.invitation.hello": "Hallo,",
"emails.invitation.body": "Denne meldinga ble sendt til deg fordi {{owner}} ynskja å invitera deg til å bli medlem av {{team}} team i {{project}}.",
"emails.invitation.footer": "Om du ikkje er interessert, kan du ignorera denne meldinga.",
"emails.invitation.thanks": "Takk,",
+ "emails.invitation.buttonText": "Godta invitasjon til {{team}}",
"emails.invitation.signature": "{{project}} team",
"locale.country.unknown": "Ukjend",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/or.json b/app/config/locale/translations/or.json
index efd516f23a..a8e08b8043 100644
--- a/app/config/locale/translations/or.json
+++ b/app/config/locale/translations/or.json
@@ -8,6 +8,7 @@
"emails.verification.body": "ଆପଣଙ୍କର ଇମେଲ୍ ଠିକଣା ଯାଞ୍ଚ କରିବାକୁ ଏହି ଲିଙ୍କ୍ ଅନୁସରଣ କରନ୍ତୁ |",
"emails.verification.footer": "ଯଦି ଆପଣ ଏହି ଠିକଣା ଯାଞ୍ଚ କରିବାକୁ କହି ନାହାଁନ୍ତି, ତେବେ ଆପଣ ଏହି ସନ୍ଦେଶକୁ ଉପେକ୍ଷା କରିପାରିବେ |",
"emails.verification.thanks": "ଧନ୍ୟବାଦ,",
+ "emails.verification.buttonText": "ଇମେଲ ଠିକଣା ନିଶ୍ଚିତ କରନ୍ତୁ",
"emails.verification.signature": "{{project}} ଦଳ",
"emails.magicSession.subject": "ଲଗଇନ୍ କରନ୍ତୁ",
"emails.magicSession.hello": "ନମସ୍କାର,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "ଆପଣଙ୍କର {{project}} ପାସୱାର୍ଡ ପୁନଃ ସେଟ୍ କରିବାକୁ ଏହି ଲିଙ୍କକୁ ଅନୁସରଣ କରନ୍ତୁ |",
"emails.recovery.footer": "ଯଦି ଆପଣ ଆପଣଙ୍କର ପାସୱାର୍ଡ ପୁନଃ ସେଟ୍ କରିବାକୁ କହି ନାହାଁନ୍ତି, ତେବେ ଆପଣ ଏହି ସନ୍ଦେଶକୁ ଉପେକ୍ଷା କରିପାରିବେ |",
"emails.recovery.thanks": "ଧନ୍ୟବାଦ,",
+ "emails.recovery.buttonText": "ପାସୱାର୍ଡ ପୁନଃସେଟ୍ କରନ୍ତୁ",
"emails.recovery.signature": "{{project}} ଦଳ",
"emails.invitation.subject": "%s ରେ %s ଦଳକୁ ନିମନ୍ତ୍ରଣ |",
"emails.invitation.hello": "ନମସ୍କାର,",
"emails.invitation.body": "ଏହି ମେଲ୍ ଆପଣଙ୍କୁ ପଠାଯାଇଥିଲା କାରଣ {{owner}} ଆପଣଙ୍କୁ {{project} ରେ {{team}} ଦଳର ସଦସ୍ୟ ହେବାକୁ ଆମନ୍ତ୍ରଣ କରିବାକୁ ଚାହୁଁଥିଲେ |",
"emails.invitation.footer": "ଯଦି ଆପଣ ଆଗ୍ରହୀ ନୁହଁନ୍ତି, ଆପଣ ଏହି ସନ୍ଦେଶକୁ ଅଣଦେଖା କରିପାରିବେ |",
"emails.invitation.thanks": "ଧନ୍ୟବାଦ,",
+ "emails.invitation.buttonText": "{{team}} ପାଇଁ ଆମନ୍ତ୍ରଣ ଗ୍ରହଣ କରନ୍ତୁ",
"emails.invitation.signature": "{{project}} ଦଳ",
"locale.country.unknown": "ଅଜ୍ଞାତ",
"countries.af": "ଆଫଗାନିସ୍ତାନ",
diff --git a/app/config/locale/translations/pl.json b/app/config/locale/translations/pl.json
index ee5811fb59..75bc3a24f9 100644
--- a/app/config/locale/translations/pl.json
+++ b/app/config/locale/translations/pl.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Przejdź do tego linku, aby zweryfikować swój adres e-mail.",
"emails.verification.footer": "Jeśli to nie Ty prosiłeś o zweryfikowanie tego adresu, zignoruj tę wiadomość.",
"emails.verification.thanks": "Dziękujemy,",
+ "emails.verification.buttonText": "Potwierdź adres e-mail",
"emails.verification.signature": "Zespół {{project}}",
"emails.magicSession.subject": "Logowanie",
"emails.magicSession.hello": "Cześć,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Przejdź do tego linku, aby zresetować hasło dla {{project}}.",
"emails.recovery.footer": "Jeśli to nie Ty prosiłeś o zresetowanie swojego hasła, zignoruj tę wiadomość.",
"emails.recovery.thanks": "Dziękujemy,",
+ "emails.recovery.buttonText": "Zresetuj hasło",
"emails.recovery.signature": "Zespół {{project}}",
"emails.invitation.subject": "Zaproszenie do zespołu %s w %s",
"emails.invitation.hello": "Cześć,",
"emails.invitation.body": "Otrzymujesz tę wiadomość, ponieważ {{owner}} zaprasza Cię do grona członków zespołu {{team}} w projekcie {{project}}.",
"emails.invitation.footer": "Jeśli nie jesteś zainteresowany, zignoruj tę wiadomość.",
"emails.invitation.thanks": "Dziękujemy,",
+ "emails.invitation.buttonText": "Zaakceptuj zaproszenie do {{team}}",
"emails.invitation.signature": "Zespół {{project}}",
"locale.country.unknown": "Nieznany",
"countries.af": "Afganistan",
diff --git a/app/config/locale/translations/pt-br.json b/app/config/locale/translations/pt-br.json
index a53ca79813..7e3af1d3f1 100644
--- a/app/config/locale/translations/pt-br.json
+++ b/app/config/locale/translations/pt-br.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Clique neste link para verificar o seu endereço de e-mail.",
"emails.verification.footer": "Se você não solicitou a verificação deste e-mail, ignore essa mensagem.",
"emails.verification.thanks": "Muito obrigado,",
+ "emails.verification.buttonText": "Confirmar endereço de e-mail",
"emails.verification.signature": "Time {{project}}",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Olá,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Clique neste link para redefinir sua senha do {{project}}.",
"emails.recovery.footer": "Se você não solicitou a redefinição da sua senha, você pode ignorar essa mensagem.",
"emails.recovery.thanks": "Muito obrigado,",
+ "emails.recovery.buttonText": "Redefinir senha",
"emails.recovery.signature": "Time {{project}}",
"emails.invitation.subject": "Convite para o Time %s em %s",
"emails.invitation.hello": "Olá,",
"emails.invitation.body": "Este e-mail foi enviado porque {{owner}} deseja convidar você a se tornar membro do Time {{team}} em {{project}}.",
"emails.invitation.footer": "Caso não tenha interesse, ignore essa mensagem.",
"emails.invitation.thanks": "Muito obrigado,",
+ "emails.invitation.buttonText": "Aceitar convite para {{team}}",
"emails.invitation.signature": "Time {{project}}",
"locale.country.unknown": "Desconhecido",
"countries.af": "Afeganistão",
diff --git a/app/config/locale/translations/pt-pt.json b/app/config/locale/translations/pt-pt.json
index d85dca9300..c13ce558bf 100644
--- a/app/config/locale/translations/pt-pt.json
+++ b/app/config/locale/translations/pt-pt.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Siga esta ligação para verificar o seu endereço de correio electrónico.",
"emails.verification.footer": "Se não pediu para verificar este endereço, pode ignorar esta mensagem.",
"emails.verification.thanks": "Obrigado,",
+ "emails.verification.buttonText": "Confirmar endereço de email",
"emails.verification.signature": "Equipa {{project}}",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Olá ,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Utilize este link para redefinir a palavra-passe do seu projecto {{project}}",
"emails.recovery.footer": "Se não pediu para redefinir a sua palavra-passe, pode ignorar esta mensagem.",
"emails.recovery.thanks": "Obrigado,",
+ "emails.recovery.buttonText": "Repor palavra-passe",
"emails.recovery.signature": "Equipa {{project}}",
"emails.invitation.subject": "Convite à equipa de %s às %s",
"emails.invitation.hello": "Olá,",
"emails.invitation.body": "Este correio foi-lhe enviado porque {{owner}} queria convidá-lo a tornar-se membro da equipa {{team}} da {{project}}.",
"emails.invitation.footer": "Se não estiver interessado, pode ignorar esta mensagem.",
"emails.invitation.thanks": "Obrigado,",
+ "emails.invitation.buttonText": "Aceitar convite para o {{team}}",
"emails.invitation.signature": "Equipa {{project}}",
"locale.country.unknown": "Desconhecido",
"countries.af": "Afeganistão",
diff --git a/app/config/locale/translations/ro.json b/app/config/locale/translations/ro.json
index 04cb22dd6b..88499ce3f6 100644
--- a/app/config/locale/translations/ro.json
+++ b/app/config/locale/translations/ro.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Click pe acest link pentru a valida adresa de email.",
"emails.verification.footer": "Dacă nu ai cerut validarea adresei de email, poți ignora acest mesaj.",
"emails.verification.thanks": "Mulțumim,",
+ "emails.verification.buttonText": "Confirmă adresa de email",
"emails.verification.signature": "Echipa {{project}}",
"emails.magicSession.subject": "Login",
"emails.magicSession.hello": "Bună ziua,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Click aici pentru a reseta parola pentru {{project}}",
"emails.recovery.footer": "Dacă nu ai cerut să îți schimbi parola, ignoră acest mesaj.",
"emails.recovery.thanks": "Mulțumim,",
+ "emails.recovery.buttonText": "Resetează parola",
"emails.recovery.signature": "Echipa {{project}}",
"emails.invitation.subject": "Invitatie catre %s Echipa la %s",
"emails.invitation.hello": "Bună ziua,",
"emails.invitation.body": "Acest email a fost trimis pentru că {{owner}} a vrut ca tu să devii membru al echipei {{team}} la {{project}}.",
"emails.invitation.footer": "Dacă nu esti interesat, poți ignora acest email.",
"emails.invitation.thanks": "Mulțumim,",
+ "emails.invitation.buttonText": "Acceptă invitația la {{team}}",
"emails.invitation.signature": "Echipa {{project}}",
"locale.country.unknown": "Necunoscut",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/ru.json b/app/config/locale/translations/ru.json
index 029aa06ee7..f61337de80 100644
--- a/app/config/locale/translations/ru.json
+++ b/app/config/locale/translations/ru.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Перейдите по ссылке, чтобы подтвердить свой адрес электронной почты.",
"emails.verification.footer": "Если вы не запрашивали подтверждение этого адреса, проигнорируйте это сообщение.",
"emails.verification.thanks": "Спасибо,",
+ "emails.verification.buttonText": "Подтвердить адрес электронной почты",
"emails.verification.signature": "команда {{project}}",
"emails.magicSession.subject": "Логин",
"emails.magicSession.hello": "Здравствуйте,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Перейдите по этой ссылке для того чтобы сбросить свой пароль для проекта {{project}}",
"emails.recovery.footer": "Если вы не запрашивали сброс пароля, проигнорируйте это сообщение.",
"emails.recovery.thanks": "Спасибо,",
+ "emails.recovery.buttonText": "Сбросить пароль",
"emails.recovery.signature": "команда {{project}}",
"emails.invitation.subject": "Приглашение в команду %s по проекту %s",
"emails.invitation.hello": "Здравствуйте,",
"emails.invitation.body": "Это письмо отправлено вам, потому что {{owner}} приглашает стать членом команды {{team}} в проекте {{project}}.",
"emails.invitation.footer": "Если вы не заинтересованы, проигнорируйте это сообщение.",
"emails.invitation.thanks": "Спасибо,",
+ "emails.invitation.buttonText": "Принять приглашение в {{team}}",
"emails.invitation.signature": "команда {{project}}",
"locale.country.unknown": "Неизвестно",
"countries.af": "Афганистан",
diff --git a/app/config/locale/translations/sa.json b/app/config/locale/translations/sa.json
index 7aa8c90d77..b3326110d1 100644
--- a/app/config/locale/translations/sa.json
+++ b/app/config/locale/translations/sa.json
@@ -8,6 +8,7 @@
"emails.verification.body": "ई-पत्रनिर्णायनार्थमिदं संयोगसूत्रमनुसरतु।",
"emails.verification.footer": "यदि अस्य संकेतस्य निर्णायनं नेष्यते तर्हि वात्र्तामिमामुपेक्षताम्।",
"emails.verification.thanks": "धन्यवादः,",
+ "emails.verification.buttonText": "ईमेल-पत्त्रं सुनिश्चित करें",
"emails.verification.signature": "{{project}} गणः",
"emails.magicSession.subject": "संप्रवेशः",
"emails.magicSession.hello": "अयि,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "{{project}} कूटशब्दपुनयाेजनाय संयोगमेनमनुसरतु।",
"emails.recovery.footer": "यदि कूटशब्दस्य पुनयाेजनं नेष्यते तर्हि वात्र्तामिमामुपेक्षताम्।",
"emails.recovery.thanks": "धन्यवादः,",
+ "emails.recovery.buttonText": "गुप्तशब्दं पुनः स्थापित करें",
"emails.recovery.signature": "{{project}} गणः",
"emails.invitation.subject": "गणस्य आमन्त्रणम् %s इति %s",
"emails.invitation.hello": "अयि भो,",
"emails.invitation.body": "{{owner}} {{team}} गणे {{project}} मध्ये भवद्योगदानमच्छितीति हेतोः पत्रमदिं भवत्सकाशं प्रेषतिम्।",
"emails.invitation.footer": "यदि भवदनिच्छा तर्हि वात्र्तामिमामुपेक्षताम्।",
"emails.invitation.thanks": "धन्यवादः,",
+ "emails.invitation.buttonText": "{{team}} निमन्त्रणं स्वीकुरुत",
"emails.invitation.signature": "{{project}} गणः",
"locale.country.unknown": "अज्ञातम् ",
"countries.af": "आफगानिस्थानम्",
diff --git a/app/config/locale/translations/sd.json b/app/config/locale/translations/sd.json
index 3f1f7678db..26c89a1770 100644
--- a/app/config/locale/translations/sd.json
+++ b/app/config/locale/translations/sd.json
@@ -8,6 +8,7 @@
"emails.verification.body": "پنھنجي اي ميل ايڊريس جي تصديق ڪرڻ لاءِ ھن لنڪ تي عمل ڪريو.",
"emails.verification.footer": "جيڪڏھن توھان نه پ askيا ھئا ھن ايڊريس جي تصديق ڪرڻ لاءِ ، توھان نظر انداز ڪري سگھوٿا ھن پيغام کي.",
"emails.verification.thanks": "مهرباني,",
+ "emails.verification.buttonText": "اي ميل پتو تصديق ڪريو",
"emails.verification.signature": "{{project}} ٽيم",
"emails.magicSession.subject": "لاگ ان",
"emails.magicSession.hello": "هي ,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "ھن لنڪ تي عمل ڪريو پنھنجو {{project}} پاسورڊ ري سيٽ ڪرڻ لاءِ.",
"emails.recovery.footer": "جيڪڏھن توھان نه پ پيو ھو پنھنجي پاسورڊ کي ري سيٽ ڪرڻ لاءِ ، توھان نظر انداز ڪري سگھوٿا ھن پيغام کي.",
"emails.recovery.thanks": "مهرباني,",
+ "emails.recovery.buttonText": "پاسورڊ ري سيٽ ڪريو",
"emails.recovery.signature": "{{project}} ٽيم",
"emails.invitation.subject": "%s ٽيم %s تيجي دعوت",
"emails.invitation.hello": "هيلو,",
"emails.invitation.body": "ھي اي ميل توھان ڏانھن موڪليو ويو آھي {اڪاڻ ته {{owner}} توھان کي دعوت ڏيڻ چاھي ٿو ته توھان {{team}} ٽيم جو ميمبر بڻجي {{project}} تي.",
"emails.invitation.footer": "جيڪڏھن توھان دلچسپي نٿا رکو ، توھان نظر انداز ڪري سگھوٿا ھن پيغام کي.",
"emails.invitation.thanks": "مهرباني,",
+ "emails.invitation.buttonText": "{{team}} جي دعوت قبول ڪريو",
"emails.invitation.signature": "{{project}} ٽيم",
"locale.country.unknown": "نامعلوم",
"countries.af": "افغانستان",
diff --git a/app/config/locale/translations/si.json b/app/config/locale/translations/si.json
index 536e8d3604..e2053407ea 100644
--- a/app/config/locale/translations/si.json
+++ b/app/config/locale/translations/si.json
@@ -8,6 +8,7 @@
"emails.verification.body": "ඔබගේ විද්යුත් තැපැල් ලිපිනය සත්යාපනය කිරීමට මෙම සම්බන්ධකය අනුගමනය කරන්න.",
"emails.verification.footer": "මෙම ලිපිනය සත්යාපනය කරන ලෙස ඔබ ඉල්ලුවේ නැත්නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැක.",
"emails.verification.thanks": "ස්තුතියි,",
+ "emails.verification.buttonText": "ඊමේල් ලිපිනය තහවුරු කරන්න",
"emails.verification.signature": "{{project}} කණ්ඩායම",
"emails.magicSession.subject": "ප්රවේශ වන්න",
"emails.magicSession.hello": "හේයි,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "ඔබගේ {{project}} මුරපදය නැවත සැකසීමට මෙම සම්බන්ධකය අනුගමනය කරන්න.",
"emails.recovery.footer": "ඔබගේ මුරපදය නැවත සකසන ලෙස ඔබ ඉල්ලුවේ නැත්නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැක.",
"emails.recovery.thanks": "ස්තුතියි,",
+ "emails.recovery.buttonText": "මුරපදය යළි පිහිටුවන්න",
"emails.recovery.signature": "{{project}} කණ්ඩායම",
"emails.invitation.subject": "%s කණ්ඩායමට ආරාධනා %s හි",
"emails.invitation.hello": "ආයුබෝවන්,",
"emails.invitation.body": "මෙම තැපැල් ඔබට එව්වේ, {{owner}} හට {{project}} හි {{team}} කණ්ඩායමේ සාමාජිකයෙකු වීමට ඔබට ආරාධනා කිරීමට අවශ්ය වූ බැවිනි.",
"emails.invitation.footer": "ඔබ උනන්දුවක් නොදක්වන්නේ නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැක.",
"emails.invitation.thanks": "ස්තුතියි,",
+ "emails.invitation.buttonText": "{{team}} සඳහා ආරාධනය පිළිගෙනින්න",
"emails.invitation.signature": "{{project}} කණ්ඩායම",
"locale.country.unknown": "නොදන්නා",
"countries.af": "ඇෆ්ගනිස්ථානය",
diff --git a/app/config/locale/translations/sk.json b/app/config/locale/translations/sk.json
index 93c12c0881..1b41d8031d 100644
--- a/app/config/locale/translations/sk.json
+++ b/app/config/locale/translations/sk.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Použi tento link pre overenie svojej emailovej adresy.",
"emails.verification.footer": "Ak si nepožiadal o overenie tejto adresy, môžeš túto správu ignorovať.",
"emails.verification.thanks": "Ďakujeme.,",
+ "emails.verification.buttonText": "Potvrďte e-mailovú adresu",
"emails.verification.signature": "{{project}} tím",
"emails.magicSession.subject": "Prihlásenie",
"emails.magicSession.hello": "Ahoj,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Použi tento link pre obnovenie svojho {{project}} hesla.",
"emails.recovery.footer": "Ak si nepožiadal o obnovu svojho hesla, túto správu môžeš ignorovať.",
"emails.recovery.thanks": "Ďakujeme,",
+ "emails.recovery.buttonText": "Obnoviť heslo",
"emails.recovery.signature": "{{project}} tím",
"emails.invitation.subject": "Pozvánka do %s Tímu v %s",
"emails.invitation.hello": "Ahoj,",
"emails.invitation.body": "Tento email ti bol zaslaný, pretože {{owner}} ťa pozval, aby si sa stal členom {{team}} tímu v projekte {{project}}.",
"emails.invitation.footer": "Ak nemáš záujem, môžeš túto správu ignorovať.",
"emails.invitation.thanks": "Ďakujeme,",
+ "emails.invitation.buttonText": "Prijať pozvánku do {{team}}",
"emails.invitation.signature": "{{project}} tím",
"locale.country.unknown": "Neznámy",
"countries.af": "Afganistan",
diff --git a/app/config/locale/translations/sn.json b/app/config/locale/translations/sn.json
index d17a98ff42..9fcadfaa82 100644
--- a/app/config/locale/translations/sn.json
+++ b/app/config/locale/translations/sn.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Tevedza chinongedzo ichi kuti uratidze kuti kero iyi ndeyako.",
"emails.verification.footer": "Kana usina kukumbira kuti uratidze kuti kero iyi ndeyako, unogona kufuratira meseji iyi.",
"emails.verification.thanks": "Ndatenda,",
+ "emails.verification.buttonText": "Simbisa kero yeemail",
"emails.verification.signature": "Chikwata che{{project}}",
"emails.magicSession.subject": "Pinda",
"emails.magicSession.hello": "Hesi,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Baya chinongedzo ichi kuti uchinje pasiwedhi yako ye{{project}}.",
"emails.recovery.footer": "Kana usina kukumbira kuchinja pasiwedhi yako, unogona kufuratira meseji iyi.",
"emails.recovery.thanks": "Ndatenda,",
+ "emails.recovery.buttonText": "Gadzirisa password",
"emails.recovery.signature": "Chikwata che{{project}}",
"emails.invitation.subject": "Kukokwa kuchikwata che%s ku%s",
"emails.invitation.hello": "Mhoro,",
"emails.invitation.body": "Tsamba iyi yatumirwa kwauri nekuti {{owner}} anga achida kuti uve nhengo yechikwata che{{team}} pachirongwa che{{project}}.",
"emails.invitation.footer": "Kana usiri kufarira kuve nhengo yechikwata ichi, unogona kufuratira meseji iyi.",
"emails.invitation.thanks": "Ndatenda,",
+ "emails.invitation.buttonText": "Gamuchira kukokwa ku {{team}}",
"emails.invitation.signature": "Chikwata che{{project}}",
"locale.country.unknown": "Haizivikanwe",
"countries.af": "Afuganisitani",
diff --git a/app/config/locale/translations/sv.json b/app/config/locale/translations/sv.json
index 8997fd53f8..9bff513f0c 100644
--- a/app/config/locale/translations/sv.json
+++ b/app/config/locale/translations/sv.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Klicka på denna länk för att verifiera din email",
"emails.verification.footer": "Om du inte bad om att verifiera den här e-postadressen kan du ignorera detta mail.",
"emails.verification.thanks": "Tack,",
+ "emails.verification.buttonText": "Bekräfta e-postadress",
"emails.verification.signature": "{{project}} teamet",
"emails.magicSession.subject": "Logga in",
"emails.magicSession.hello": "Hej,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Klicka på denna länk för att återställa lösenordet på {{project}}",
"emails.recovery.footer": "Om du inte bad om att återställa ditt lösenord kan du ignorera detta mail.",
"emails.recovery.thanks": "Tack,",
+ "emails.recovery.buttonText": "Återställ lösenord",
"emails.recovery.signature": "{{project}} teamet",
"emails.invitation.subject": "Inbjudan till %s teamet på %s",
"emails.invitation.hello": "Hej,",
"emails.invitation.body": "Detta mail skickades till dig eftersom {{owner}} ville bjuda in dig att bli medlem i teamet {{team}} på {{project}}.",
"emails.invitation.footer": "Om du inte är intresserad kan du ignorera detta mail.",
"emails.invitation.thanks": "Tack,",
+ "emails.invitation.buttonText": "Acceptera inbjudan till {{team}}",
"emails.invitation.signature": "{{project}} teamet",
"locale.country.unknown": "Okänt",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/ta.json b/app/config/locale/translations/ta.json
index f0695867a9..4afcbe9b63 100644
--- a/app/config/locale/translations/ta.json
+++ b/app/config/locale/translations/ta.json
@@ -8,6 +8,7 @@
"emails.verification.body": "உங்கள் மின்னஞ்சல் முகவரியைச் சரிபார்க்க இந்த இணைப்பைப் பின்தொடரவும்.",
"emails.verification.footer": "இந்த முகவரியைச் சரிபார்க்கும்படி உங்களிடம் கேட்கப்படவில்லை என்றால், இந்தச் செய்தியை நீங்கள் புறக்கணிக்கலாம்.",
"emails.verification.thanks": "நன்றி,",
+ "emails.verification.buttonText": "மின்னஞ்சல் முகவரியை உறுதிப்படுத்தவும்",
"emails.verification.signature": "{{project}} குழு ",
"emails.magicSession.subject": "உள்நுழைய",
"emails.magicSession.hello": "ஏய்,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "மீட்டமைக்க இந்த இணைப்பைப் பின்தொடரவும் {{project}} கடவுச்சொல்.",
"emails.recovery.footer": "உங்கள் கடவுச்சொல்லை மீட்டமைக்கும்படி உங்களிடம் கேட்கப்படவில்லை என்றால், இந்தச் செய்தியை நீங்கள் புறக்கணிக்கலாம்.",
"emails.recovery.thanks": "நன்றி,",
+ "emails.recovery.buttonText": "கடவுச்சொல்லை மீட்டமைக்கவும்",
"emails.recovery.signature": "{{project}} குழு",
"emails.invitation.subject": "அழைப்பிதழ் %s குழு %s ",
"emails.invitation.hello": "வணக்கம்,",
"emails.invitation.body": "{{project}} இல் {{team}} குழுவில் உறுப்பினராக உங்களை {{owner}} அழைக்க விரும்புவதால், இந்த அஞ்சல் உங்களுக்கு அனுப்பப்பட்டது.",
"emails.invitation.footer": "உங்களுக்கு ஆர்வம் இல்லை என்றால், இந்த செய்தியை நீங்கள் புறக்கணிக்கலாம்.",
"emails.invitation.thanks": "நன்றி,",
+ "emails.invitation.buttonText": "{{team}} அழைப்பை ஏற்கவும்",
"emails.invitation.signature": "{{project}} குழு",
"locale.country.unknown": "அறியவில்லை",
"countries.af": "ஆப்கானித்தான்",
diff --git a/app/config/locale/translations/te.json b/app/config/locale/translations/te.json
index 870b0b82a2..4073fc72d9 100644
--- a/app/config/locale/translations/te.json
+++ b/app/config/locale/translations/te.json
@@ -8,6 +8,7 @@
"emails.verification.body": "ఈ లింక్ ద్వారా ఇమెయిల్ ని ధృవీకరించండి",
"emails.verification.footer": "మీరు ఈ చిరునామాను ధృవీకరించమని అడగనట్లయితే, మీరు ఈ సందేశాన్ని విస్మరించవచ్చు",
"emails.verification.thanks": "ధన్యవాదాలు,",
+ "emails.verification.buttonText": "ఇమెయిల్ చిరునామాను నిర్ధారించండి",
"emails.verification.signature": "{{project}} జట్",
"emails.magicSession.subject": "లాగిన్",
"emails.magicSession.hello": "నమస్కారము,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "మీ {{project}} పాస్వర్డ్ ని రీసెట్ చేయడానికి ఈ లింక్ ని అనుసరించండి",
"emails.recovery.footer": "మీరు మీ పాస్వర్డ్ ని రీసెట్ చేయమని అడగనట్లయితే, మీరు ఈ సందేశాన్ని విస్మరించవచ్చు",
"emails.recovery.thanks": "ధన్యవాదాల,",
+ "emails.recovery.buttonText": "పాస్వర్డ్ను రీసెట్ చేయండి",
"emails.recovery.signature": "{{project}} జట్",
"emails.invitation.subject": "%s వద్ద %s బృందానికి ఆహ్వానం",
"emails.invitation.hello": "నమస్కారమ,",
"emails.invitation.body": "{{owner}} మిమ్మల్ని {{project}} లో {{team}} బృందంలో సభ్యునిగా ఉండమని ఆహ్వానించాలనుకుంటున్నందున ఈ మెయిల్ మీకు పంపబడింది.",
"emails.invitation.footer": "మీకు ఆసక్తి లేకుంటే, మీరు ఈ సందేశాన్ని విస్మరించవచ్చు.",
"emails.invitation.thanks": "ధన్యవాదాల,",
+ "emails.invitation.buttonText": "{{team}} కు ఆహ్వానాన్ని ఆమోదించండి",
"emails.invitation.signature": "{{project}} జట్",
"locale.country.unknown": "తెలియని",
"countries.af": "ఆఫ్ఘనిస్తాన్",
diff --git a/app/config/locale/translations/th.json b/app/config/locale/translations/th.json
index 5a53b16055..4003ece666 100644
--- a/app/config/locale/translations/th.json
+++ b/app/config/locale/translations/th.json
@@ -8,6 +8,7 @@
"emails.verification.body": "กดเข้าไปที่ลิงก์นี้เพื่อยืนยันอีเมลของท่าน",
"emails.verification.footer": "หากท่านไม่ได้ต้องการที่จะยืนยันอีเมลนี้ ท่านสามารถเพิกเฉยข้อความนี้ได้",
"emails.verification.thanks": "ขอบคุณ",
+ "emails.verification.buttonText": "ยืนยันที่อยู่อีเมล",
"emails.verification.signature": "ทีม {{project}}",
"emails.magicSession.subject": "เข้าสู่ระบบ",
"emails.magicSession.hello": "เรียนผู้ใช้งาน",
@@ -20,12 +21,14 @@
"emails.recovery.body": "กดเข้าไปที่ลิงก์นี้เพื่อรีเซ็ตรหัสผ่านสำหรับโปรเจกต์ {{project}} ของท่าน",
"emails.recovery.footer": "หากท่านไม่ได้ต้องการที่จะรีเซ็ตรหัสผ่านของท่าน ท่านสามารถเพิกเฉยข้อความนี้ได้",
"emails.recovery.thanks": "ขอบคุณ",
+ "emails.recovery.buttonText": "รีเซ็ตรหัสผ่าน",
"emails.recovery.signature": "ทีม {{project}}",
"emails.invitation.subject": "เรียนเชิญเข้าร่วม ทีม %s จากโปรเจกต์ %s",
"emails.invitation.hello": "สวัสดี",
"emails.invitation.body": "ท่านได้รับอีเมลฉบับนี้เนื่องจาก {{owner}} ต้องการที่จะเชิญชวนคุณเข้าร่วมเป็นส่วนหนึ่งของ ทีม {{team}} จากโปรเจกต์ {{project}}",
"emails.invitation.footer": "หากท่านไม่ได้สนใจที่จะเข้าร่วม ท่านสามารถเพิกเฉยข้อความนี้ได้",
"emails.invitation.thanks": "ขอบคุณ",
+ "emails.invitation.buttonText": "ยอมรับคำเชิญเข้าร่วม {{team}}",
"emails.invitation.signature": "ทีม {{project}}",
"locale.country.unknown": "ไม่ทราบ",
"countries.af": "อัฟกานิสถาน",
diff --git a/app/config/locale/translations/tl.json b/app/config/locale/translations/tl.json
index 6d0be01095..27ea6c088f 100644
--- a/app/config/locale/translations/tl.json
+++ b/app/config/locale/translations/tl.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Sundin ang link na ito upang ma-verify ang iyong email address.",
"emails.verification.footer": "Kung hindi mo hiningi na i-verify ang address na ito, maaari mong balewalain ang mensahe na ito.",
"emails.verification.thanks": "Salamat,",
+ "emails.verification.buttonText": "Kumpirmahin ang email address",
"emails.verification.signature": "Pangkat ng {{project}}",
"emails.magicSession.subject": "Mag log in",
"emails.magicSession.hello": "Kamusta ,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Sundin ang link na ito upang i-reset ang password ng iyong {{project}}.",
"emails.recovery.footer": "Kung hindi mo hiningi na i-reset ang iyong password, maaari mong balewalain ang mensahe na ito.",
"emails.recovery.thanks": "Salamat,",
+ "emails.recovery.buttonText": "I-reset ang password",
"emails.recovery.signature": "Pangkat ng {{project}}",
"emails.invitation.subject": "Imbitasyon para sa Pangkat %s sa %s",
"emails.invitation.hello": "Kamusta,",
"emails.invitation.body": "Ipinadala sa iyo ang mail na ito dahil gusto kang imbitahan ni {{owner}} na maging miyembro ng Pangkat {{team}} sa ilalim ng proyektong {{project}}.",
"emails.invitation.footer": "Kung ikaw ay hindi interesado, maaari mong balewalain ang mensaheng ito.",
"emails.invitation.thanks": "Salamat,",
+ "emails.invitation.buttonText": "Tanggapin ang paanyaya sa {{team}}",
"emails.invitation.signature": "Pangkat ng {{project}}",
"locale.country.unknown": "Hindi kilala",
"countries.af": "Apganistan",
diff --git a/app/config/locale/translations/tr.json b/app/config/locale/translations/tr.json
index 115050c2e2..a7183152b6 100644
--- a/app/config/locale/translations/tr.json
+++ b/app/config/locale/translations/tr.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Eposta adresini doğrulamak için bu bağlantıyı kullanın.",
"emails.verification.footer": "Eğer bu eposta adresini doğrulamak isteyen siz değilseniz devam etmeyin.",
"emails.verification.thanks": "Teşekkürler,",
+ "emails.verification.buttonText": "E-posta adresini doğrula",
"emails.verification.signature": "{{project}} takımı",
"emails.magicSession.subject": "Giriş",
"emails.magicSession.hello": "Merhaba,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "{{project}} şifrenizi sıfırlamak için bu bağlantıyı kullanın.",
"emails.recovery.footer": "Eğer şifre sıfırlama talebinde bulunmadıysanız devam etmeyin.",
"emails.recovery.thanks": "Teşekkürler,",
+ "emails.recovery.buttonText": "Şifreyi sıfırla",
"emails.recovery.signature": "{{project}} takımı",
"emails.invitation.subject": "%s üzerinde %s Takımına Davet",
"emails.invitation.hello": "Merhaba,",
"emails.invitation.body": "Bu epostayı aldınız, çünkü {{owner}} sizi {{project}} üzerinde {{team}} takımının üyesi olmaya davet etti.",
"emails.invitation.footer": "Eğer ilgilenmiyorsanız devam etmeyin.",
"emails.invitation.thanks": "Teşekkürler,",
+ "emails.invitation.buttonText": "{{team}}'e daveti kabul et",
"emails.invitation.signature": "{{project}} takımı",
"locale.country.unknown": "Bilinmeyen",
"countries.af": "Afganistan",
diff --git a/app/config/locale/translations/uk.json b/app/config/locale/translations/uk.json
index 3f66bd1c58..daa003754d 100644
--- a/app/config/locale/translations/uk.json
+++ b/app/config/locale/translations/uk.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Перейдіть за цим посиланням, щоб підтвердити свою електронну адресу.",
"emails.verification.footer": "Якщо ви не запитували підтвердження цієї адреси, ви можете ігнорувати це повідомлення.",
"emails.verification.thanks": "Дякуємо,",
+ "emails.verification.buttonText": "Підтвердити адресу електронної пошти",
"emails.verification.signature": "команда {{project}}",
"emails.magicSession.subject": "Логін",
"emails.magicSession.hello": "Вітаємо,",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Перейдіть за цим посиланням для того щоб скинути свій пароль для проекту {{project}}",
"emails.recovery.footer": "Якщо ви не запитували скидання паролю, проігноруйте це повідомлення.",
"emails.recovery.thanks": "Дякуємо,",
+ "emails.recovery.buttonText": "Скинути пароль",
"emails.recovery.signature": "команда {{project}}",
"emails.invitation.subject": "Запрошення до %s Команди у %s",
"emails.invitation.hello": "Вітаємо,",
"emails.invitation.body": "Цей лист був надісланий вам тому що {{owner}} запрошує вас стати членом команди {{team}} у проекті {{project}}.",
"emails.invitation.footer": "Якщо ви не зацікавлені, проігноруйте це повідомлення.",
"emails.invitation.thanks": "Дякуємо,",
+ "emails.invitation.buttonText": "Прийняти запрошення до {{team}}",
"emails.invitation.signature": "команда {{project}}",
"locale.country.unknown": "Невідомо",
"countries.af": "Афганістан",
diff --git a/app/config/locale/translations/ur.json b/app/config/locale/translations/ur.json
index 9d6aa47762..8823e0da2e 100644
--- a/app/config/locale/translations/ur.json
+++ b/app/config/locale/translations/ur.json
@@ -8,6 +8,7 @@
"emails.verification.body": "براہ کرم اپنے ای میل کی تصدیق کے لیے درج ذیل لنک پر عمل کریں۔",
"emails.verification.footer": "اگر آپ نے اس پتے کی تصدیق کے لیے نہیں کہا تو آپ اس پیغام کو نظر انداز کر سکتے ہیں۔",
"emails.verification.thanks": "شکریہ،",
+ "emails.verification.buttonText": "ای میل پتہ کی تصدیق کریں",
"emails.verification.signature": "ٹیم۔ {{project}}",
"emails.magicSession.subject": "اگ ان کریں",
"emails.magicSession.hello": "خوش آمدید،",
@@ -20,13 +21,15 @@
"emails.recovery.body": "{{project}} کا پاس ورڈ تبدیل کرنے کے لیے درج ذیل لنک پر عمل کریں",
"emails.recovery.footer": "اگر آپ نے اپنا پاس ورڈ دوبارہ ترتیب دینے کے لیے نہیں کہا تو آپ اس پیغام کو نظر انداز کر سکتے ہیں۔",
"emails.recovery.thanks": "شکریہ،",
+ "emails.recovery.buttonText": "پاس ورڈ ری سیٹ کریں",
"emails.recovery.signature": "ٹیم۔ {{project}}",
"emails.invitation.subject": "%s پر %s ٹیم کو دعوت",
"emails.invitation.hello": "خوش آمدید،",
"emails.invitation.body": "یہ پیغام آپ کو اس لیے بھیجا گیا تھا کہ {{owner}} نے آپ کو {{project}} میں {{team}} ٹیم کا رکن بننے کی دعوت بھیجی",
"emails.invitation.footer": "اگر آپ دلچسپی نہیں رکھتے تو آپ اس پیغام کو نظر انداز کر سکتے ہیں۔",
"emails.invitation.thanks": "شکریہ،",
- "emails.invitation.signature": "ٹیم۔ {{project}",
+ "emails.invitation.buttonText": "{{team}} کی دعوت قبول کریں",
+ "emails.invitation.signature": "ٹیم۔ {{project}}",
"locale.country.unknown": "نامعلوم",
"countries.af": "افغانستان",
"countries.ao": "انگولا",
diff --git a/app/config/locale/translations/vi.json b/app/config/locale/translations/vi.json
index 76a545a1d4..e9168d9ab8 100644
--- a/app/config/locale/translations/vi.json
+++ b/app/config/locale/translations/vi.json
@@ -8,6 +8,7 @@
"emails.verification.body": "Nhấn vào đường dẫn sau để xác minh địa chỉ email của bạn.",
"emails.verification.footer": "Nếu bạn không yêu cầu xác minh tài khoản, bạn có thể bỏ qua email này.",
"emails.verification.thanks": "Cảm ơn",
+ "emails.verification.buttonText": "Xác nhận địa chỉ email",
"emails.verification.signature": "Nhóm {{project}}",
"emails.magicSession.subject": "Đăng nhập",
"emails.magicSession.hello": "Chào",
@@ -20,12 +21,14 @@
"emails.recovery.body": "Nhấn vào đường dẫn sau để thiết lập lại mật khẩu {{project}} của bạn.",
"emails.recovery.footer": "Nếu bạn không yêu cầu thiết lập lại mật khẩu, bạn có thể bỏ qua email này.",
"emails.recovery.thanks": "Cảm ơn",
+ "emails.recovery.buttonText": "Đặt lại mật khẩu",
"emails.recovery.signature": "Nhóm {{project}}",
"emails.invitation.subject": "Lời mời tham gia nhóm %s tại %s",
"emails.invitation.hello": "Xin chào",
"emails.invitation.body": "Email này được gửi cho bạn vì {{owner}} muốn mời bạn trở thành một thành viên của nhóm {{team}} tại {{project}}.",
"emails.invitation.footer": "Nếu bạn không quan tâm, bạn có thể bỏ qua email này.",
"emails.invitation.thanks": "Cảm ơn",
+ "emails.invitation.buttonText": "Chấp nhận lời mời vào {{team}}",
"emails.invitation.signature": "Nhóm {{project}}",
"locale.country.unknown": "Không xác định",
"countries.af": "Afghanistan",
diff --git a/app/config/locale/translations/zh-cn.json b/app/config/locale/translations/zh-cn.json
index 5e35a89bfe..554b506e9e 100644
--- a/app/config/locale/translations/zh-cn.json
+++ b/app/config/locale/translations/zh-cn.json
@@ -8,6 +8,7 @@
"emails.verification.body": "点此链接验证您的电子邮件地址。",
"emails.verification.footer": "如果您没有要求验证此地址,则可忽略此消息。",
"emails.verification.thanks": "谢谢、",
+ "emails.verification.buttonText": "确认邮箱地址",
"emails.verification.signature": "{{project}} 团队",
"emails.magicSession.subject": "登录",
"emails.magicSession.hello": "你好、",
@@ -20,12 +21,14 @@
"emails.recovery.body": "点此链接重置您的 {{project}} 密码。",
"emails.recovery.footer": "如果您没有要求重置密码,则可以忽略此消息。",
"emails.recovery.thanks": "谢谢、",
+ "emails.recovery.buttonText": "重置密码",
"emails.recovery.signature": "{{project}} 团队",
"emails.invitation.subject": "邀请 %s 团队在 %s",
"emails.invitation.hello": "你好、",
"emails.invitation.body": "这封邮件发送给您是因为 {{owner}} 想邀请您成为 {{team}} 团队在 {{project}}.",
"emails.invitation.footer": "如果您不感兴趣,可以忽略此消息。",
"emails.invitation.thanks": "谢谢、",
+ "emails.invitation.buttonText": "接受加入 {{team}} 的邀请",
"emails.invitation.signature": "{{project}} 团队",
"locale.country.unknown": "未知",
"countries.af": "阿富汗",
diff --git a/app/config/locale/translations/zh-tw.json b/app/config/locale/translations/zh-tw.json
index 146dd0a401..bb9868d679 100644
--- a/app/config/locale/translations/zh-tw.json
+++ b/app/config/locale/translations/zh-tw.json
@@ -8,6 +8,7 @@
"emails.verification.body": "按照此連結驗證您的電子郵件地址。",
"emails.verification.footer": "如果您沒有要求驗證此地址,則可以忽略此消息。",
"emails.verification.thanks": "謝謝、",
+ "emails.verification.buttonText": "確認電子郵件地址",
"emails.verification.signature": "{{project}} 團隊",
"emails.magicSession.subject": "登入",
"emails.magicSession.hello": "嗨、",
@@ -20,12 +21,14 @@
"emails.recovery.body": "按照此連結重置您的 {{project}} 密碼。",
"emails.recovery.footer": "如果您沒有要求重置密碼,則可以忽略此消息。",
"emails.recovery.thanks": "謝謝、",
+ "emails.recovery.buttonText": "重設密碼",
"emails.recovery.signature": "{{project}} 團隊",
"emails.invitation.subject": "邀請 %s 團隊在 %s",
"emails.invitation.hello": "您好、",
"emails.invitation.body": "發送這封郵件給您是因為 {{owner}} 想邀請您成為 {{team}} 團隊在 {{project}}。",
"emails.invitation.footer": "如果您不感興趣,可以忽略此消息。",
"emails.invitation.thanks": "謝謝、",
+ "emails.invitation.buttonText": "接受加入 {{team}} 的邀請",
"emails.invitation.signature": "{{project}} 團隊",
"locale.country.unknown": "未知",
"countries.af": "阿富汗",
diff --git a/app/config/platforms.php b/app/config/platforms.php
index 4e705516fa..15eb8b3893 100644
--- a/app/config/platforms.php
+++ b/app/config/platforms.php
@@ -11,7 +11,7 @@ return [
[
'key' => 'web',
'name' => 'Web',
- 'version' => '18.1.1',
+ 'version' => '18.1.0',
'url' => 'https://github.com/appwrite/sdk-for-web',
'package' => 'https://www.npmjs.com/package/appwrite',
'enabled' => true,
@@ -59,7 +59,7 @@ return [
[
'key' => 'flutter',
'name' => 'Flutter',
- 'version' => '17.0.0',
+ 'version' => '17.0.2',
'url' => 'https://github.com/appwrite/sdk-for-flutter',
'package' => 'https://pub.dev/packages/appwrite',
'enabled' => true,
@@ -77,7 +77,7 @@ return [
[
'key' => 'apple',
'name' => 'Apple',
- 'version' => '10.1.0',
+ 'version' => '10.1.1',
'url' => 'https://github.com/appwrite/sdk-for-apple',
'package' => 'https://github.com/appwrite/sdk-for-apple',
'enabled' => true,
@@ -134,7 +134,7 @@ return [
[
'key' => 'react-native',
'name' => 'React Native',
- 'version' => '0.9.2',
+ 'version' => '0.10.1',
'url' => 'https://github.com/appwrite/sdk-for-react-native',
'package' => 'https://npmjs.com/package/react-native-appwrite',
'enabled' => true,
@@ -217,7 +217,7 @@ return [
[
'key' => 'cli',
'name' => 'Command Line',
- 'version' => '6.2.3',
+ 'version' => '8.2.2',
'url' => 'https://github.com/appwrite/sdk-for-cli',
'package' => 'https://www.npmjs.com/package/appwrite-cli',
'enabled' => true,
@@ -231,6 +231,12 @@ return [
'gitRepoName' => 'sdk-for-cli',
'gitUserName' => 'appwrite',
'gitBranch' => 'dev',
+ 'repoBranch' => 'master',
+ 'exclude' => [
+ 'services' => [
+ ['name' => 'assistant'],
+ ],
+ ],
],
],
],
@@ -245,7 +251,7 @@ return [
[
'key' => 'nodejs',
'name' => 'Node.js',
- 'version' => '17.0.0',
+ 'version' => '17.1.0',
'url' => 'https://github.com/appwrite/sdk-for-node',
'package' => 'https://www.npmjs.com/package/node-appwrite',
'enabled' => true,
@@ -353,7 +359,7 @@ return [
[
'key' => 'dotnet',
'name' => '.NET',
- 'version' => '0.13.0',
+ 'version' => '0.14.0',
'url' => 'https://github.com/appwrite/sdk-for-dotnet',
'package' => 'https://www.nuget.org/packages/Appwrite',
'enabled' => true,
@@ -371,7 +377,7 @@ return [
[
'key' => 'dart',
'name' => 'Dart',
- 'version' => '16.0.0',
+ 'version' => '16.1.0',
'url' => 'https://github.com/appwrite/sdk-for-dart',
'package' => 'https://pub.dev/packages/dart_appwrite',
'enabled' => true,
@@ -411,7 +417,7 @@ return [
[
'key' => 'swift',
'name' => 'Swift',
- 'version' => '10.0.0',
+ 'version' => '10.1.0',
'url' => 'https://github.com/appwrite/sdk-for-swift',
'package' => 'https://github.com/appwrite/sdk-for-swift',
'enabled' => true,
diff --git a/app/config/specs/open-api3-1.7.x-client.json b/app/config/specs/open-api3-1.7.x-client.json
index 16d29c5f28..d09108e51d 100644
--- a/app/config/specs/open-api3-1.7.x-client.json
+++ b/app/config/specs/open-api3-1.7.x-client.json
@@ -4457,6 +4457,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
"server",
"server"
@@ -4466,6 +4467,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -4490,29 +4492,6 @@
}
],
"description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
- },
- {
- "name": "createDocuments",
- "auth": {
- "Key": []
- },
- "parameters": [
- "databaseId",
- "collectionId",
- "documents"
- ],
- "required": [
- "databaseId",
- "collectionId",
- "documents"
- ],
- "responses": [
- {
- "code": 201,
- "model": "#\/components\/schemas\/documentList"
- }
- ],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate new Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
}
],
"auth": {
@@ -4913,7 +4892,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4974,6 +4953,236 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "min": {
+ "type": "number",
+ "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "max": {
+ "type": "number",
+ "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"\/functions\/{functionId}\/executions": {
"get": {
"summary": "List executions",
@@ -4997,7 +5206,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5072,7 +5281,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5187,7 +5396,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5261,7 +5470,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5313,7 +5522,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5365,7 +5574,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5417,7 +5626,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5469,7 +5678,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5521,7 +5730,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5573,7 +5782,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5625,7 +5834,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5677,7 +5886,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5729,7 +5938,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5781,7 +5990,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5864,7 +6073,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5939,7 +6148,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6025,7 +6234,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -6123,7 +6332,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6195,7 +6404,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6284,7 +6493,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6351,7 +6560,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6429,7 +6638,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6618,7 +6827,8 @@
"png",
"webp",
"heic",
- "avif"
+ "avif",
+ "gif"
],
"x-enum-name": "ImageFormat",
"x-enum-keys": [],
@@ -6656,7 +6866,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6741,7 +6951,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6817,7 +7027,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6902,7 +7112,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6964,7 +7174,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7038,7 +7248,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7102,7 +7312,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7188,7 +7398,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7299,7 +7509,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7371,7 +7581,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7458,7 +7668,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7532,7 +7742,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7630,7 +7840,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7691,7 +7901,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8205,6 +8415,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -8239,6 +8455,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/open-api3-1.7.x-console.json b/app/config/specs/open-api3-1.7.x-console.json
index 83525478a4..b7450bc7e6 100644
--- a/app/config/specs/open-api3-1.7.x-console.json
+++ b/app/config/specs/open-api3-1.7.x-console.json
@@ -4359,7 +4359,7 @@
"x-appwrite": {
"method": "chat",
"group": "console",
- "weight": 308,
+ "weight": 309,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4419,7 +4419,7 @@
"x-appwrite": {
"method": "getResource",
"group": null,
- "weight": 432,
+ "weight": 433,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4494,7 +4494,7 @@
"x-appwrite": {
"method": "variables",
"group": "console",
- "weight": 307,
+ "weight": 308,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4694,7 +4694,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 119,
+ "weight": 121,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8016,6 +8016,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
"server",
"server"
@@ -8025,6 +8026,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -8053,6 +8055,7 @@
{
"name": "createDocuments",
"auth": {
+ "Admin": [],
"Key": []
},
"parameters": [
@@ -8167,7 +8170,7 @@
"x-appwrite": {
"method": "upsertDocuments",
"group": "documents",
- "weight": 116,
+ "weight": 118,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8178,6 +8181,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8227,7 +8231,10 @@
"type": "object"
}
}
- }
+ },
+ "required": [
+ "documents"
+ ]
}
}
}
@@ -8239,7 +8246,7 @@
"tags": [
"databases"
],
- "description": "Update all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nUpdate all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated.",
"responses": {
"200": {
"description": "Documents List",
@@ -8255,7 +8262,7 @@
"x-appwrite": {
"method": "updateDocuments",
"group": "documents",
- "weight": 115,
+ "weight": 117,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8266,6 +8273,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8348,7 +8356,7 @@
"x-appwrite": {
"method": "deleteDocuments",
"group": "documents",
- "weight": 118,
+ "weight": 120,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8359,6 +8367,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8741,7 +8750,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8895,6 +8904,236 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "min": {
+ "type": "number",
+ "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "max": {
+ "type": "number",
+ "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": {
"get": {
"summary": "List indexes",
@@ -9362,7 +9601,7 @@
"x-appwrite": {
"method": "getCollectionUsage",
"group": null,
- "weight": 121,
+ "weight": 123,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9527,7 +9766,7 @@
"x-appwrite": {
"method": "getDatabaseUsage",
"group": null,
- "weight": 120,
+ "weight": 122,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9609,7 +9848,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 376,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9682,7 +9921,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 373,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9764,6 +10003,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -9789,7 +10029,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -9913,7 +10154,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 378,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9962,7 +10203,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 379,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10012,7 +10253,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 402,
+ "weight": 403,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10112,7 +10353,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 401,
+ "weight": 402,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10172,7 +10413,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 395,
+ "weight": 396,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10244,7 +10485,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 374,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10303,7 +10544,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 375,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10392,6 +10633,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -10417,7 +10659,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -10531,7 +10774,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 377,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10592,7 +10835,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 382,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10672,7 +10915,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 383,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10755,7 +10998,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 380,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -10851,7 +11094,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10936,7 +11179,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 385,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11039,7 +11282,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11136,7 +11379,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 381,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11198,7 +11441,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 384,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11262,7 +11505,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 387,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -11352,7 +11595,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 389,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11423,7 +11666,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11498,7 +11741,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11613,7 +11856,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11678,7 +11921,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 393,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11749,7 +11992,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 394,
+ "weight": 395,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11831,7 +12074,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 398,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11890,7 +12133,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 396,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11981,7 +12224,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 397,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12050,7 +12293,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 399,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12141,7 +12384,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 400,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12212,7 +12455,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12264,7 +12507,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12316,7 +12559,7 @@
"x-appwrite": {
"method": "get",
"group": "health",
- "weight": 130,
+ "weight": 132,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12365,7 +12608,7 @@
"x-appwrite": {
"method": "getAntivirus",
"group": "health",
- "weight": 151,
+ "weight": 153,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12414,7 +12657,7 @@
"x-appwrite": {
"method": "getCache",
"group": "health",
- "weight": 133,
+ "weight": 135,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12463,7 +12706,7 @@
"x-appwrite": {
"method": "getCertificate",
"group": "health",
- "weight": 138,
+ "weight": 140,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12523,7 +12766,7 @@
"x-appwrite": {
"method": "getDB",
"group": "health",
- "weight": 132,
+ "weight": 134,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12572,7 +12815,7 @@
"x-appwrite": {
"method": "getPubSub",
"group": "health",
- "weight": 134,
+ "weight": 136,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12621,7 +12864,7 @@
"x-appwrite": {
"method": "getQueueBuilds",
"group": "queue",
- "weight": 140,
+ "weight": 142,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12683,7 +12926,7 @@
"x-appwrite": {
"method": "getQueueCertificates",
"group": "queue",
- "weight": 139,
+ "weight": 141,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12745,7 +12988,7 @@
"x-appwrite": {
"method": "getQueueDatabases",
"group": "queue",
- "weight": 141,
+ "weight": 143,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12818,7 +13061,7 @@
"x-appwrite": {
"method": "getQueueDeletes",
"group": "queue",
- "weight": 142,
+ "weight": 144,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12880,7 +13123,7 @@
"x-appwrite": {
"method": "getFailedJobs",
"group": "queue",
- "weight": 152,
+ "weight": 154,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12968,7 +13211,7 @@
"x-appwrite": {
"method": "getQueueFunctions",
"group": "queue",
- "weight": 146,
+ "weight": 148,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13030,7 +13273,7 @@
"x-appwrite": {
"method": "getQueueLogs",
"group": "queue",
- "weight": 137,
+ "weight": 139,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13092,7 +13335,7 @@
"x-appwrite": {
"method": "getQueueMails",
"group": "queue",
- "weight": 143,
+ "weight": 145,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13154,7 +13397,7 @@
"x-appwrite": {
"method": "getQueueMessaging",
"group": "queue",
- "weight": 144,
+ "weight": 146,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13216,7 +13459,7 @@
"x-appwrite": {
"method": "getQueueMigrations",
"group": "queue",
- "weight": 145,
+ "weight": 147,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13278,7 +13521,7 @@
"x-appwrite": {
"method": "getQueueStatsResources",
"group": "queue",
- "weight": 147,
+ "weight": 149,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13340,7 +13583,7 @@
"x-appwrite": {
"method": "getQueueUsage",
"group": "queue",
- "weight": 148,
+ "weight": 150,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13402,7 +13645,7 @@
"x-appwrite": {
"method": "getQueueWebhooks",
"group": "queue",
- "weight": 136,
+ "weight": 138,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13464,7 +13707,7 @@
"x-appwrite": {
"method": "getStorage",
"group": "storage",
- "weight": 150,
+ "weight": 152,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13513,7 +13756,7 @@
"x-appwrite": {
"method": "getStorageLocal",
"group": "storage",
- "weight": 149,
+ "weight": 151,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13562,7 +13805,7 @@
"x-appwrite": {
"method": "getTime",
"group": "health",
- "weight": 135,
+ "weight": 137,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13611,7 +13854,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13663,7 +13906,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13715,7 +13958,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13767,7 +14010,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13819,7 +14062,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13871,7 +14114,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13923,7 +14166,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13975,7 +14218,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14027,7 +14270,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 360,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14103,7 +14346,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 357,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14247,7 +14490,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 364,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14393,7 +14636,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 359,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14567,7 +14810,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 366,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14745,7 +14988,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 358,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14854,7 +15097,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 365,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14966,7 +15209,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 363,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15019,7 +15262,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 367,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15081,7 +15324,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 361,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15156,7 +15399,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 362,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15231,7 +15474,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 332,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15307,7 +15550,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 331,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15412,7 +15655,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 344,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15520,7 +15763,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 330,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15605,7 +15848,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 343,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15693,7 +15936,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 322,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15808,7 +16051,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 335,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15926,7 +16169,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 325,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16021,7 +16264,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 338,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16119,7 +16362,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 323,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16224,7 +16467,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 336,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16332,7 +16575,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 324,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16475,7 +16718,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 337,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16620,7 +16863,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 326,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16715,7 +16958,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 339,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16813,7 +17056,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 327,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16908,7 +17151,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 340,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17006,7 +17249,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 328,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17101,7 +17344,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 341,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17199,7 +17442,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 329,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17294,7 +17537,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 342,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17392,7 +17635,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 334,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17445,7 +17688,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 345,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17507,7 +17750,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 333,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17582,7 +17825,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 354,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17657,7 +17900,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 347,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17731,7 +17974,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 346,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17814,7 +18057,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 349,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17874,7 +18117,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 350,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17951,7 +18194,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 351,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18013,7 +18256,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 348,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18088,7 +18331,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 353,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18172,7 +18415,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18262,7 +18505,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 355,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18325,7 +18568,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18400,7 +18643,7 @@
"x-appwrite": {
"method": "list",
"group": null,
- "weight": 314,
+ "weight": 315,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18474,7 +18717,7 @@
"x-appwrite": {
"method": "createAppwriteMigration",
"group": null,
- "weight": 309,
+ "weight": 310,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18562,7 +18805,7 @@
"x-appwrite": {
"method": "getAppwriteReport",
"group": null,
- "weight": 316,
+ "weight": 317,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18655,7 +18898,7 @@
"x-appwrite": {
"method": "createCsvMigration",
"group": null,
- "weight": 313,
+ "weight": 314,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18734,7 +18977,7 @@
"x-appwrite": {
"method": "createFirebaseMigration",
"group": null,
- "weight": 310,
+ "weight": 311,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18810,7 +19053,7 @@
"x-appwrite": {
"method": "getFirebaseReport",
"group": null,
- "weight": 317,
+ "weight": 318,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18882,7 +19125,7 @@
"x-appwrite": {
"method": "createNHostMigration",
"group": null,
- "weight": 312,
+ "weight": 313,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18993,7 +19236,7 @@
"x-appwrite": {
"method": "getNHostReport",
"group": null,
- "weight": 319,
+ "weight": 320,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19126,7 +19369,7 @@
"x-appwrite": {
"method": "createSupabaseMigration",
"group": null,
- "weight": 311,
+ "weight": 312,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19231,7 +19474,7 @@
"x-appwrite": {
"method": "getSupabaseReport",
"group": null,
- "weight": 318,
+ "weight": 319,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19355,7 +19598,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 315,
+ "weight": 316,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19413,7 +19656,7 @@
"x-appwrite": {
"method": "retry",
"group": null,
- "weight": 320,
+ "weight": 321,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19464,7 +19707,7 @@
"x-appwrite": {
"method": "delete",
"group": null,
- "weight": 321,
+ "weight": 322,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19524,7 +19767,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 200,
+ "weight": 202,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19612,7 +19855,7 @@
"x-appwrite": {
"method": "listVariables",
"group": null,
- "weight": 202,
+ "weight": 204,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19658,7 +19901,7 @@
"x-appwrite": {
"method": "createVariable",
"group": null,
- "weight": 201,
+ "weight": 203,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19736,7 +19979,7 @@
"x-appwrite": {
"method": "getVariable",
"group": null,
- "weight": 203,
+ "weight": 205,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19794,7 +20037,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": null,
- "weight": 204,
+ "weight": 206,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19874,7 +20117,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": null,
- "weight": 205,
+ "weight": 207,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19934,7 +20177,7 @@
"x-appwrite": {
"method": "list",
"group": "projects",
- "weight": 155,
+ "weight": 157,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20006,7 +20249,7 @@
"x-appwrite": {
"method": "create",
"group": "projects",
- "weight": 154,
+ "weight": 156,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20140,7 +20383,7 @@
"x-appwrite": {
"method": "get",
"group": "projects",
- "weight": 156,
+ "weight": 158,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20198,7 +20441,7 @@
"x-appwrite": {
"method": "update",
"group": "projects",
- "weight": 157,
+ "weight": 159,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20313,7 +20556,7 @@
"x-appwrite": {
"method": "delete",
"group": "projects",
- "weight": 174,
+ "weight": 176,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20373,7 +20616,7 @@
"x-appwrite": {
"method": "updateApiStatus",
"group": "projects",
- "weight": 161,
+ "weight": 163,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20465,7 +20708,7 @@
"x-appwrite": {
"method": "updateApiStatusAll",
"group": "projects",
- "weight": 162,
+ "weight": 164,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20544,7 +20787,7 @@
"x-appwrite": {
"method": "updateAuthDuration",
"group": "auth",
- "weight": 167,
+ "weight": 169,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20623,7 +20866,7 @@
"x-appwrite": {
"method": "updateAuthLimit",
"group": "auth",
- "weight": 166,
+ "weight": 168,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20702,7 +20945,7 @@
"x-appwrite": {
"method": "updateAuthSessionsLimit",
"group": "auth",
- "weight": 172,
+ "weight": 174,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20781,7 +21024,7 @@
"x-appwrite": {
"method": "updateMembershipsPrivacy",
"group": "auth",
- "weight": 165,
+ "weight": 167,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20872,7 +21115,7 @@
"x-appwrite": {
"method": "updateMockNumbers",
"group": "auth",
- "weight": 173,
+ "weight": 175,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20954,7 +21197,7 @@
"x-appwrite": {
"method": "updateAuthPasswordDictionary",
"group": "auth",
- "weight": 170,
+ "weight": 172,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21033,7 +21276,7 @@
"x-appwrite": {
"method": "updateAuthPasswordHistory",
"group": "auth",
- "weight": 169,
+ "weight": 171,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21112,7 +21355,7 @@
"x-appwrite": {
"method": "updatePersonalDataCheck",
"group": "auth",
- "weight": 171,
+ "weight": 173,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21191,7 +21434,7 @@
"x-appwrite": {
"method": "updateSessionAlerts",
"group": "auth",
- "weight": 164,
+ "weight": 166,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21270,7 +21513,7 @@
"x-appwrite": {
"method": "updateAuthStatus",
"group": "auth",
- "weight": 168,
+ "weight": 170,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21370,7 +21613,7 @@
"x-appwrite": {
"method": "listDevKeys",
"group": "devKeys",
- "weight": 371,
+ "weight": 372,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21438,7 +21681,7 @@
"x-appwrite": {
"method": "createDevKey",
"group": "devKeys",
- "weight": 368,
+ "weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21523,7 +21766,7 @@
"x-appwrite": {
"method": "getDevKey",
"group": "devKeys",
- "weight": 370,
+ "weight": 371,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21591,7 +21834,7 @@
"x-appwrite": {
"method": "updateDevKey",
"group": "devKeys",
- "weight": 369,
+ "weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21677,7 +21920,7 @@
"x-appwrite": {
"method": "deleteDevKey",
"group": "devKeys",
- "weight": 372,
+ "weight": 373,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21747,7 +21990,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "auth",
- "weight": 186,
+ "weight": 188,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21834,7 +22077,7 @@
"x-appwrite": {
"method": "listKeys",
"group": "keys",
- "weight": 182,
+ "weight": 184,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21892,7 +22135,7 @@
"x-appwrite": {
"method": "createKey",
"group": "keys",
- "weight": 181,
+ "weight": 183,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21985,7 +22228,7 @@
"x-appwrite": {
"method": "getKey",
"group": "keys",
- "weight": 183,
+ "weight": 185,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22053,7 +22296,7 @@
"x-appwrite": {
"method": "updateKey",
"group": "keys",
- "weight": 184,
+ "weight": 186,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22147,7 +22390,7 @@
"x-appwrite": {
"method": "deleteKey",
"group": "keys",
- "weight": 185,
+ "weight": 187,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22217,7 +22460,7 @@
"x-appwrite": {
"method": "updateOAuth2",
"group": "auth",
- "weight": 163,
+ "weight": 165,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22355,7 +22598,7 @@
"x-appwrite": {
"method": "listPlatforms",
"group": "platforms",
- "weight": 188,
+ "weight": 190,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22413,7 +22656,7 @@
"x-appwrite": {
"method": "createPlatform",
"group": "platforms",
- "weight": 187,
+ "weight": 189,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22532,7 +22775,7 @@
"x-appwrite": {
"method": "getPlatform",
"group": "platforms",
- "weight": 189,
+ "weight": 191,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22600,7 +22843,7 @@
"x-appwrite": {
"method": "updatePlatform",
"group": "platforms",
- "weight": 190,
+ "weight": 192,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22695,7 +22938,7 @@
"x-appwrite": {
"method": "deletePlatform",
"group": "platforms",
- "weight": 191,
+ "weight": 193,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22765,7 +23008,7 @@
"x-appwrite": {
"method": "updateServiceStatus",
"group": "projects",
- "weight": 159,
+ "weight": 161,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22866,7 +23109,7 @@
"x-appwrite": {
"method": "updateServiceStatusAll",
"group": "projects",
- "weight": 160,
+ "weight": 162,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22945,7 +23188,7 @@
"x-appwrite": {
"method": "updateSmtp",
"group": "templates",
- "weight": 192,
+ "weight": 194,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23063,7 +23306,7 @@
"x-appwrite": {
"method": "createSmtpTest",
"group": "templates",
- "weight": 193,
+ "weight": 195,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23194,7 +23437,7 @@
"x-appwrite": {
"method": "updateTeam",
"group": "projects",
- "weight": 158,
+ "weight": 160,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23273,7 +23516,7 @@
"x-appwrite": {
"method": "getEmailTemplate",
"group": "templates",
- "weight": 195,
+ "weight": 197,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23497,7 +23740,7 @@
"x-appwrite": {
"method": "updateEmailTemplate",
"group": "templates",
- "weight": 197,
+ "weight": 199,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23761,7 +24004,7 @@
"x-appwrite": {
"method": "deleteEmailTemplate",
"group": "templates",
- "weight": 199,
+ "weight": 201,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23987,7 +24230,7 @@
"x-appwrite": {
"method": "getSmsTemplate",
"group": "templates",
- "weight": 194,
+ "weight": 196,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24208,7 +24451,7 @@
"x-appwrite": {
"method": "updateSmsTemplate",
"group": "templates",
- "weight": 196,
+ "weight": 198,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24448,7 +24691,7 @@
"x-appwrite": {
"method": "deleteSmsTemplate",
"group": "templates",
- "weight": 198,
+ "weight": 200,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24671,7 +24914,7 @@
"x-appwrite": {
"method": "listWebhooks",
"group": "webhooks",
- "weight": 176,
+ "weight": 178,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24729,7 +24972,7 @@
"x-appwrite": {
"method": "createWebhook",
"group": "webhooks",
- "weight": 175,
+ "weight": 177,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24844,7 +25087,7 @@
"x-appwrite": {
"method": "getWebhook",
"group": "webhooks",
- "weight": 177,
+ "weight": 179,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24912,7 +25155,7 @@
"x-appwrite": {
"method": "updateWebhook",
"group": "webhooks",
- "weight": 178,
+ "weight": 180,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25028,7 +25271,7 @@
"x-appwrite": {
"method": "deleteWebhook",
"group": "webhooks",
- "weight": 180,
+ "weight": 182,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25098,7 +25341,7 @@
"x-appwrite": {
"method": "updateWebhookSignature",
"group": "webhooks",
- "weight": 179,
+ "weight": 181,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25168,7 +25411,7 @@
"x-appwrite": {
"method": "listRules",
"group": null,
- "weight": 292,
+ "weight": 294,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25242,7 +25485,7 @@
"x-appwrite": {
"method": "createAPIRule",
"group": null,
- "weight": 433,
+ "weight": 434,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25309,7 +25552,7 @@
"x-appwrite": {
"method": "createFunctionRule",
"group": null,
- "weight": 435,
+ "weight": 436,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25387,7 +25630,7 @@
"x-appwrite": {
"method": "createRedirectRule",
"group": null,
- "weight": 436,
+ "weight": 437,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25443,12 +25686,33 @@
"Temporary Redirect 307",
"Permanent Redirect 308"
]
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "ID of parent resource.",
+ "x-example": ""
+ },
+ "resourceType": {
+ "type": "string",
+ "description": "Type of parent resource.",
+ "x-example": "site",
+ "enum": [
+ "site",
+ "function"
+ ],
+ "x-enum-name": "ProxyResourceType",
+ "x-enum-keys": [
+ "Site",
+ "Function"
+ ]
}
},
"required": [
"domain",
"url",
- "statusCode"
+ "statusCode",
+ "resourceId",
+ "resourceType"
]
}
}
@@ -25479,7 +25743,7 @@
"x-appwrite": {
"method": "createSiteRule",
"group": null,
- "weight": 434,
+ "weight": 435,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25557,7 +25821,7 @@
"x-appwrite": {
"method": "getRule",
"group": null,
- "weight": 293,
+ "weight": 295,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25608,7 +25872,7 @@
"x-appwrite": {
"method": "deleteRule",
"group": null,
- "weight": 294,
+ "weight": 296,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25668,7 +25932,7 @@
"x-appwrite": {
"method": "updateRuleVerification",
"group": null,
- "weight": 295,
+ "weight": 297,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25728,7 +25992,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 405,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25798,7 +26062,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 403,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25933,6 +26197,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -25958,7 +26223,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -26045,7 +26311,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 408,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26094,7 +26360,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 431,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26144,7 +26410,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 427,
+ "weight": 428,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26244,7 +26510,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 428,
+ "weight": 429,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26304,7 +26570,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 429,
+ "weight": 430,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26376,7 +26642,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 404,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26435,7 +26701,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 406,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26577,6 +26843,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -26602,7 +26869,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -26678,7 +26946,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 407,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26739,7 +27007,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 414,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26819,7 +27087,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 413,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26902,7 +27170,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 409,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -27003,7 +27271,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27083,7 +27351,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 410,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27186,7 +27454,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27284,7 +27552,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27346,7 +27614,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 415,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27410,7 +27678,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 416,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -27500,7 +27768,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 418,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27571,7 +27839,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 420,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27642,7 +27910,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 419,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27704,7 +27972,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 421,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27775,7 +28043,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 430,
+ "weight": 431,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27857,7 +28125,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 424,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27916,7 +28184,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 422,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28007,7 +28275,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 423,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28076,7 +28344,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 425,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28167,7 +28435,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 426,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28238,7 +28506,7 @@
"x-appwrite": {
"method": "listBuckets",
"group": "buckets",
- "weight": 207,
+ "weight": 209,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28311,7 +28579,7 @@
"x-appwrite": {
"method": "createBucket",
"group": "buckets",
- "weight": 206,
+ "weight": 208,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28438,7 +28706,7 @@
"x-appwrite": {
"method": "getBucket",
"group": "buckets",
- "weight": 208,
+ "weight": 210,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28497,7 +28765,7 @@
"x-appwrite": {
"method": "updateBucket",
"group": "buckets",
- "weight": 209,
+ "weight": 211,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28621,7 +28889,7 @@
"x-appwrite": {
"method": "deleteBucket",
"group": "buckets",
- "weight": 210,
+ "weight": 212,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28682,7 +28950,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28768,7 +29036,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -28866,7 +29134,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28938,7 +29206,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29027,7 +29295,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29094,7 +29362,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29172,7 +29440,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29361,7 +29629,8 @@
"png",
"webp",
"heic",
- "avif"
+ "avif",
+ "gif"
],
"x-enum-name": "ImageFormat",
"x-enum-keys": [],
@@ -29399,7 +29668,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29484,7 +29753,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 220,
+ "weight": 222,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29556,7 +29825,7 @@
"x-appwrite": {
"method": "getBucketUsage",
"group": null,
- "weight": 221,
+ "weight": 223,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29638,7 +29907,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29714,7 +29983,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29799,7 +30068,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29861,7 +30130,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29935,7 +30204,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29999,7 +30268,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 235,
+ "weight": 237,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30072,7 +30341,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30158,7 +30427,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30269,7 +30538,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30341,7 +30610,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30428,7 +30697,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30502,7 +30771,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30599,7 +30868,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30659,7 +30928,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30740,7 +31009,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 439,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30820,7 +31089,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 437,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30909,7 +31178,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 438,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30969,7 +31238,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 440,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31039,7 +31308,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 441,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31101,7 +31370,7 @@
"x-appwrite": {
"method": "list",
"group": "users",
- "weight": 245,
+ "weight": 247,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31174,7 +31443,7 @@
"x-appwrite": {
"method": "create",
"group": "users",
- "weight": 236,
+ "weight": 238,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31262,7 +31531,7 @@
"x-appwrite": {
"method": "createArgon2User",
"group": "users",
- "weight": 239,
+ "weight": 241,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31347,7 +31616,7 @@
"x-appwrite": {
"method": "createBcryptUser",
"group": "users",
- "weight": 237,
+ "weight": 239,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31432,7 +31701,7 @@
"x-appwrite": {
"method": "listIdentities",
"group": "identities",
- "weight": 253,
+ "weight": 255,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31500,7 +31769,7 @@
"x-appwrite": {
"method": "deleteIdentity",
"group": "identities",
- "weight": 276,
+ "weight": 278,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31561,7 +31830,7 @@
"x-appwrite": {
"method": "createMD5User",
"group": "users",
- "weight": 238,
+ "weight": 240,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31646,7 +31915,7 @@
"x-appwrite": {
"method": "createPHPassUser",
"group": "users",
- "weight": 241,
+ "weight": 243,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31731,7 +32000,7 @@
"x-appwrite": {
"method": "createScryptUser",
"group": "users",
- "weight": 242,
+ "weight": 244,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31846,7 +32115,7 @@
"x-appwrite": {
"method": "createScryptModifiedUser",
"group": "users",
- "weight": 243,
+ "weight": 245,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31949,7 +32218,7 @@
"x-appwrite": {
"method": "createSHAUser",
"group": "users",
- "weight": 240,
+ "weight": 242,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32054,7 +32323,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 278,
+ "weight": 280,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32126,7 +32395,7 @@
"x-appwrite": {
"method": "get",
"group": "users",
- "weight": 246,
+ "weight": 248,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32178,7 +32447,7 @@
"x-appwrite": {
"method": "delete",
"group": "users",
- "weight": 274,
+ "weight": 276,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32239,7 +32508,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "users",
- "weight": 259,
+ "weight": 261,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32319,7 +32588,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "sessions",
- "weight": 277,
+ "weight": 279,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32401,7 +32670,7 @@
"x-appwrite": {
"method": "updateLabels",
"group": "users",
- "weight": 255,
+ "weight": 257,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32484,7 +32753,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 251,
+ "weight": 253,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32558,7 +32827,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 250,
+ "weight": 252,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32643,7 +32912,7 @@
"x-appwrite": {
"method": "updateMfa",
"group": "users",
- "weight": 264,
+ "weight": 266,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32716,7 +32985,7 @@
"x-appwrite": {
"method": "deleteMfaAuthenticator",
"group": "mfa",
- "weight": 269,
+ "weight": 271,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32792,7 +33061,7 @@
"x-appwrite": {
"method": "listMfaFactors",
"group": "mfa",
- "weight": 265,
+ "weight": 267,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32853,7 +33122,7 @@
"x-appwrite": {
"method": "getMfaRecoveryCodes",
"group": "mfa",
- "weight": 266,
+ "weight": 268,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32912,7 +33181,7 @@
"x-appwrite": {
"method": "updateMfaRecoveryCodes",
"group": "mfa",
- "weight": 268,
+ "weight": 270,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32971,7 +33240,7 @@
"x-appwrite": {
"method": "createMfaRecoveryCodes",
"group": "mfa",
- "weight": 267,
+ "weight": 269,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33032,7 +33301,7 @@
"x-appwrite": {
"method": "updateName",
"group": "users",
- "weight": 257,
+ "weight": 259,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33112,7 +33381,7 @@
"x-appwrite": {
"method": "updatePassword",
"group": "users",
- "weight": 258,
+ "weight": 260,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33192,7 +33461,7 @@
"x-appwrite": {
"method": "updatePhone",
"group": "users",
- "weight": 260,
+ "weight": 262,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33272,7 +33541,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "users",
- "weight": 247,
+ "weight": 249,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33331,7 +33600,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "users",
- "weight": 262,
+ "weight": 264,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33411,7 +33680,7 @@
"x-appwrite": {
"method": "listSessions",
"group": "sessions",
- "weight": 249,
+ "weight": 251,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33470,7 +33739,7 @@
"x-appwrite": {
"method": "createSession",
"group": "sessions",
- "weight": 270,
+ "weight": 272,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33522,7 +33791,7 @@
"x-appwrite": {
"method": "deleteSessions",
"group": "sessions",
- "weight": 273,
+ "weight": 275,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33576,7 +33845,7 @@
"x-appwrite": {
"method": "deleteSession",
"group": "sessions",
- "weight": 272,
+ "weight": 274,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33647,7 +33916,7 @@
"x-appwrite": {
"method": "updateStatus",
"group": "users",
- "weight": 254,
+ "weight": 256,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33727,7 +33996,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "targets",
- "weight": 252,
+ "weight": 254,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33765,7 +34034,7 @@
},
{
"name": "queries",
- "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType",
"required": false,
"schema": {
"type": "array",
@@ -33800,7 +34069,7 @@
"x-appwrite": {
"method": "createTarget",
"group": "targets",
- "weight": 244,
+ "weight": 246,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33910,7 +34179,7 @@
"x-appwrite": {
"method": "getTarget",
"group": "targets",
- "weight": 248,
+ "weight": 250,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33980,7 +34249,7 @@
"x-appwrite": {
"method": "updateTarget",
"group": "targets",
- "weight": 263,
+ "weight": 265,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34069,7 +34338,7 @@
"x-appwrite": {
"method": "deleteTarget",
"group": "targets",
- "weight": 275,
+ "weight": 277,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34141,7 +34410,7 @@
"x-appwrite": {
"method": "createToken",
"group": "sessions",
- "weight": 271,
+ "weight": 273,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34223,7 +34492,7 @@
"x-appwrite": {
"method": "updateEmailVerification",
"group": "users",
- "weight": 261,
+ "weight": 263,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34303,7 +34572,7 @@
"x-appwrite": {
"method": "updatePhoneVerification",
"group": "users",
- "weight": 256,
+ "weight": 258,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34383,7 +34652,7 @@
"x-appwrite": {
"method": "createRepositoryDetection",
"group": "repositories",
- "weight": 282,
+ "weight": 284,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34479,7 +34748,7 @@
"x-appwrite": {
"method": "listRepositories",
"group": "repositories",
- "weight": 283,
+ "weight": 285,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34564,7 +34833,7 @@
"x-appwrite": {
"method": "createRepository",
"group": "repositories",
- "weight": 284,
+ "weight": 286,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34649,7 +34918,7 @@
"x-appwrite": {
"method": "getRepository",
"group": "repositories",
- "weight": 285,
+ "weight": 287,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34719,7 +34988,7 @@
"x-appwrite": {
"method": "listRepositoryBranches",
"group": "repositories",
- "weight": 286,
+ "weight": 288,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34773,7 +35042,7 @@
"tags": [
"vcs"
],
- "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.\n",
+ "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.",
"responses": {
"200": {
"description": "VCS Content List",
@@ -34789,7 +35058,7 @@
"x-appwrite": {
"method": "getRepositoryContents",
"group": "repositories",
- "weight": 281,
+ "weight": 283,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34843,6 +35112,17 @@
"default": ""
},
"in": "query"
+ },
+ {
+ "name": "providerReference",
+ "description": "Git reference (branch, tag, commit) to get contents from",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
}
]
}
@@ -34863,7 +35143,7 @@
"x-appwrite": {
"method": "updateExternalDeployments",
"group": "repositories",
- "weight": 291,
+ "weight": 293,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34952,7 +35232,7 @@
"x-appwrite": {
"method": "listInstallations",
"group": "installations",
- "weight": 288,
+ "weight": 290,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35026,7 +35306,7 @@
"x-appwrite": {
"method": "getInstallation",
"group": "installations",
- "weight": 289,
+ "weight": 291,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35077,7 +35357,7 @@
"x-appwrite": {
"method": "deleteInstallation",
"group": "installations",
- "weight": 290,
+ "weight": 292,
"cookies": false,
"type": "",
"deprecated": false,
@@ -37344,6 +37624,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -37378,6 +37664,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/open-api3-1.7.x-server.json b/app/config/specs/open-api3-1.7.x-server.json
index da05c6a1a7..8056d5f21b 100644
--- a/app/config/specs/open-api3-1.7.x-server.json
+++ b/app/config/specs/open-api3-1.7.x-server.json
@@ -7497,6 +7497,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
"server",
"server"
@@ -7506,6 +7507,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -7534,6 +7536,7 @@
{
"name": "createDocuments",
"auth": {
+ "Admin": [],
"Key": []
},
"parameters": [
@@ -7650,7 +7653,7 @@
"x-appwrite": {
"method": "upsertDocuments",
"group": "documents",
- "weight": 116,
+ "weight": 118,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7661,6 +7664,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -7711,7 +7715,10 @@
"type": "object"
}
}
- }
+ },
+ "required": [
+ "documents"
+ ]
}
}
}
@@ -7723,7 +7730,7 @@
"tags": [
"databases"
],
- "description": "Update all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nUpdate all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated.",
"responses": {
"200": {
"description": "Documents List",
@@ -7739,7 +7746,7 @@
"x-appwrite": {
"method": "updateDocuments",
"group": "documents",
- "weight": 115,
+ "weight": 117,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7750,6 +7757,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -7833,7 +7841,7 @@
"x-appwrite": {
"method": "deleteDocuments",
"group": "documents",
- "weight": 118,
+ "weight": 120,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7844,6 +7852,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8233,7 +8242,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8296,6 +8305,240 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": [],
+ "Key": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "min": {
+ "type": "number",
+ "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": [],
+ "Key": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "max": {
+ "type": "number",
+ "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": {
"get": {
"summary": "List indexes",
@@ -8684,7 +8927,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 376,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8758,7 +9001,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 373,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8841,6 +9084,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -8866,7 +9110,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -8990,7 +9235,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 378,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9040,7 +9285,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 379,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9091,7 +9336,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 374,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9151,7 +9396,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 375,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9241,6 +9486,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -9266,7 +9512,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -9380,7 +9627,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 377,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9442,7 +9689,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 382,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9523,7 +9770,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 383,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9607,7 +9854,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 380,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -9704,7 +9951,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9790,7 +10037,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 385,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9894,7 +10141,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9992,7 +10239,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 381,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10055,7 +10302,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 384,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10120,7 +10367,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 387,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -10211,7 +10458,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 389,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10283,7 +10530,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10360,7 +10607,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10477,7 +10724,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10544,7 +10791,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 393,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10616,7 +10863,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 398,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10676,7 +10923,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 396,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10768,7 +11015,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 397,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10838,7 +11085,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 399,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10930,7 +11177,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 400,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11002,7 +11249,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11056,7 +11303,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11110,7 +11357,7 @@
"x-appwrite": {
"method": "get",
"group": "health",
- "weight": 130,
+ "weight": 132,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11160,7 +11407,7 @@
"x-appwrite": {
"method": "getAntivirus",
"group": "health",
- "weight": 151,
+ "weight": 153,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11210,7 +11457,7 @@
"x-appwrite": {
"method": "getCache",
"group": "health",
- "weight": 133,
+ "weight": 135,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11260,7 +11507,7 @@
"x-appwrite": {
"method": "getCertificate",
"group": "health",
- "weight": 138,
+ "weight": 140,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11321,7 +11568,7 @@
"x-appwrite": {
"method": "getDB",
"group": "health",
- "weight": 132,
+ "weight": 134,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11371,7 +11618,7 @@
"x-appwrite": {
"method": "getPubSub",
"group": "health",
- "weight": 134,
+ "weight": 136,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11421,7 +11668,7 @@
"x-appwrite": {
"method": "getQueueBuilds",
"group": "queue",
- "weight": 140,
+ "weight": 142,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11484,7 +11731,7 @@
"x-appwrite": {
"method": "getQueueCertificates",
"group": "queue",
- "weight": 139,
+ "weight": 141,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11547,7 +11794,7 @@
"x-appwrite": {
"method": "getQueueDatabases",
"group": "queue",
- "weight": 141,
+ "weight": 143,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11621,7 +11868,7 @@
"x-appwrite": {
"method": "getQueueDeletes",
"group": "queue",
- "weight": 142,
+ "weight": 144,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11684,7 +11931,7 @@
"x-appwrite": {
"method": "getFailedJobs",
"group": "queue",
- "weight": 152,
+ "weight": 154,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11773,7 +12020,7 @@
"x-appwrite": {
"method": "getQueueFunctions",
"group": "queue",
- "weight": 146,
+ "weight": 148,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11836,7 +12083,7 @@
"x-appwrite": {
"method": "getQueueLogs",
"group": "queue",
- "weight": 137,
+ "weight": 139,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11899,7 +12146,7 @@
"x-appwrite": {
"method": "getQueueMails",
"group": "queue",
- "weight": 143,
+ "weight": 145,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11962,7 +12209,7 @@
"x-appwrite": {
"method": "getQueueMessaging",
"group": "queue",
- "weight": 144,
+ "weight": 146,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12025,7 +12272,7 @@
"x-appwrite": {
"method": "getQueueMigrations",
"group": "queue",
- "weight": 145,
+ "weight": 147,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12088,7 +12335,7 @@
"x-appwrite": {
"method": "getQueueStatsResources",
"group": "queue",
- "weight": 147,
+ "weight": 149,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12151,7 +12398,7 @@
"x-appwrite": {
"method": "getQueueUsage",
"group": "queue",
- "weight": 148,
+ "weight": 150,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12214,7 +12461,7 @@
"x-appwrite": {
"method": "getQueueWebhooks",
"group": "queue",
- "weight": 136,
+ "weight": 138,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12277,7 +12524,7 @@
"x-appwrite": {
"method": "getStorage",
"group": "storage",
- "weight": 150,
+ "weight": 152,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12327,7 +12574,7 @@
"x-appwrite": {
"method": "getStorageLocal",
"group": "storage",
- "weight": 149,
+ "weight": 151,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12377,7 +12624,7 @@
"x-appwrite": {
"method": "getTime",
"group": "health",
- "weight": 135,
+ "weight": 137,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12427,7 +12674,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12481,7 +12728,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12535,7 +12782,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12589,7 +12836,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12643,7 +12890,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12697,7 +12944,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12751,7 +12998,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12805,7 +13052,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12859,7 +13106,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 360,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12936,7 +13183,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 357,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13081,7 +13328,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 364,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13228,7 +13475,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 359,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13403,7 +13650,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 366,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13582,7 +13829,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 358,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13692,7 +13939,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 365,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13805,7 +14052,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 363,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13859,7 +14106,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 367,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13922,7 +14169,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 361,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13998,7 +14245,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 362,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14074,7 +14321,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 332,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14151,7 +14398,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 331,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14257,7 +14504,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 344,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14366,7 +14613,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 330,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14452,7 +14699,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 343,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14541,7 +14788,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 322,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14657,7 +14904,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 335,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14776,7 +15023,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 325,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14872,7 +15119,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 338,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14971,7 +15218,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 323,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15077,7 +15324,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 336,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15186,7 +15433,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 324,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15330,7 +15577,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 337,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15476,7 +15723,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 326,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15572,7 +15819,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 339,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15671,7 +15918,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 327,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15767,7 +16014,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 340,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15866,7 +16113,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 328,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15962,7 +16209,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 341,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16061,7 +16308,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 329,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16157,7 +16404,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 342,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16256,7 +16503,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 334,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16310,7 +16557,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 345,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16373,7 +16620,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 333,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16449,7 +16696,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 354,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16525,7 +16772,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 347,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16600,7 +16847,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 346,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16684,7 +16931,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 349,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16745,7 +16992,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 350,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16823,7 +17070,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 351,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16886,7 +17133,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 348,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16962,7 +17209,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 353,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17047,7 +17294,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17139,7 +17386,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 355,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17203,7 +17450,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17280,7 +17527,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 405,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17351,7 +17598,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 403,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17487,6 +17734,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -17512,7 +17760,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -17599,7 +17848,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 408,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17649,7 +17898,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 431,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17700,7 +17949,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 404,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17760,7 +18009,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 406,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17903,6 +18152,7 @@
"dart-3.1",
"dart-3.3",
"dart-3.5",
+ "dart-3.8",
"dotnet-6.0",
"dotnet-7.0",
"dotnet-8.0",
@@ -17928,7 +18178,8 @@
"static-1",
"flutter-3.24",
"flutter-3.27",
- "flutter-3.29"
+ "flutter-3.29",
+ "flutter-3.32"
],
"x-enum-name": null,
"x-enum-keys": []
@@ -18004,7 +18255,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 407,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18066,7 +18317,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 414,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18147,7 +18398,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 413,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18231,7 +18482,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 409,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -18333,7 +18584,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18414,7 +18665,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 410,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18518,7 +18769,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18617,7 +18868,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18680,7 +18931,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 415,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18745,7 +18996,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 416,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -18836,7 +19087,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 418,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18908,7 +19159,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 420,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18980,7 +19231,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 419,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19043,7 +19294,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 421,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19115,7 +19366,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 424,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19175,7 +19426,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 422,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19267,7 +19518,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 423,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19337,7 +19588,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 425,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19429,7 +19680,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 426,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19501,7 +19752,7 @@
"x-appwrite": {
"method": "listBuckets",
"group": "buckets",
- "weight": 207,
+ "weight": 209,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19575,7 +19826,7 @@
"x-appwrite": {
"method": "createBucket",
"group": "buckets",
- "weight": 206,
+ "weight": 208,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19703,7 +19954,7 @@
"x-appwrite": {
"method": "getBucket",
"group": "buckets",
- "weight": 208,
+ "weight": 210,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19763,7 +20014,7 @@
"x-appwrite": {
"method": "updateBucket",
"group": "buckets",
- "weight": 209,
+ "weight": 211,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19888,7 +20139,7 @@
"x-appwrite": {
"method": "deleteBucket",
"group": "buckets",
- "weight": 210,
+ "weight": 212,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19950,7 +20201,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20038,7 +20289,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -20138,7 +20389,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20212,7 +20463,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20303,7 +20554,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20372,7 +20623,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20452,7 +20703,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20643,7 +20894,8 @@
"png",
"webp",
"heic",
- "avif"
+ "avif",
+ "gif"
],
"x-enum-name": "ImageFormat",
"x-enum-keys": [],
@@ -20681,7 +20933,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20768,7 +21020,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20846,7 +21098,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20933,7 +21185,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20997,7 +21249,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21073,7 +21325,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21139,7 +21391,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21227,7 +21479,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21340,7 +21592,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21414,7 +21666,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21503,7 +21755,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21579,7 +21831,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21678,7 +21930,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21740,7 +21992,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21823,7 +22075,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 439,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21904,7 +22156,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 437,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21994,7 +22246,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 438,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22055,7 +22307,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 440,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22126,7 +22378,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 441,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22189,7 +22441,7 @@
"x-appwrite": {
"method": "list",
"group": "users",
- "weight": 245,
+ "weight": 247,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22263,7 +22515,7 @@
"x-appwrite": {
"method": "create",
"group": "users",
- "weight": 236,
+ "weight": 238,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22352,7 +22604,7 @@
"x-appwrite": {
"method": "createArgon2User",
"group": "users",
- "weight": 239,
+ "weight": 241,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22438,7 +22690,7 @@
"x-appwrite": {
"method": "createBcryptUser",
"group": "users",
- "weight": 237,
+ "weight": 239,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22524,7 +22776,7 @@
"x-appwrite": {
"method": "listIdentities",
"group": "identities",
- "weight": 253,
+ "weight": 255,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22593,7 +22845,7 @@
"x-appwrite": {
"method": "deleteIdentity",
"group": "identities",
- "weight": 276,
+ "weight": 278,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22655,7 +22907,7 @@
"x-appwrite": {
"method": "createMD5User",
"group": "users",
- "weight": 238,
+ "weight": 240,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22741,7 +22993,7 @@
"x-appwrite": {
"method": "createPHPassUser",
"group": "users",
- "weight": 241,
+ "weight": 243,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22827,7 +23079,7 @@
"x-appwrite": {
"method": "createScryptUser",
"group": "users",
- "weight": 242,
+ "weight": 244,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22943,7 +23195,7 @@
"x-appwrite": {
"method": "createScryptModifiedUser",
"group": "users",
- "weight": 243,
+ "weight": 245,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23047,7 +23299,7 @@
"x-appwrite": {
"method": "createSHAUser",
"group": "users",
- "weight": 240,
+ "weight": 242,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23153,7 +23405,7 @@
"x-appwrite": {
"method": "get",
"group": "users",
- "weight": 246,
+ "weight": 248,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23206,7 +23458,7 @@
"x-appwrite": {
"method": "delete",
"group": "users",
- "weight": 274,
+ "weight": 276,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23268,7 +23520,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "users",
- "weight": 259,
+ "weight": 261,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23349,7 +23601,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "sessions",
- "weight": 277,
+ "weight": 279,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23432,7 +23684,7 @@
"x-appwrite": {
"method": "updateLabels",
"group": "users",
- "weight": 255,
+ "weight": 257,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23516,7 +23768,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 251,
+ "weight": 253,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23591,7 +23843,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 250,
+ "weight": 252,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23677,7 +23929,7 @@
"x-appwrite": {
"method": "updateMfa",
"group": "users",
- "weight": 264,
+ "weight": 266,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23751,7 +24003,7 @@
"x-appwrite": {
"method": "deleteMfaAuthenticator",
"group": "mfa",
- "weight": 269,
+ "weight": 271,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23828,7 +24080,7 @@
"x-appwrite": {
"method": "listMfaFactors",
"group": "mfa",
- "weight": 265,
+ "weight": 267,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23890,7 +24142,7 @@
"x-appwrite": {
"method": "getMfaRecoveryCodes",
"group": "mfa",
- "weight": 266,
+ "weight": 268,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23950,7 +24202,7 @@
"x-appwrite": {
"method": "updateMfaRecoveryCodes",
"group": "mfa",
- "weight": 268,
+ "weight": 270,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24010,7 +24262,7 @@
"x-appwrite": {
"method": "createMfaRecoveryCodes",
"group": "mfa",
- "weight": 267,
+ "weight": 269,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24072,7 +24324,7 @@
"x-appwrite": {
"method": "updateName",
"group": "users",
- "weight": 257,
+ "weight": 259,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24153,7 +24405,7 @@
"x-appwrite": {
"method": "updatePassword",
"group": "users",
- "weight": 258,
+ "weight": 260,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24234,7 +24486,7 @@
"x-appwrite": {
"method": "updatePhone",
"group": "users",
- "weight": 260,
+ "weight": 262,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24315,7 +24567,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "users",
- "weight": 247,
+ "weight": 249,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24375,7 +24627,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "users",
- "weight": 262,
+ "weight": 264,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24456,7 +24708,7 @@
"x-appwrite": {
"method": "listSessions",
"group": "sessions",
- "weight": 249,
+ "weight": 251,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24516,7 +24768,7 @@
"x-appwrite": {
"method": "createSession",
"group": "sessions",
- "weight": 270,
+ "weight": 272,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24569,7 +24821,7 @@
"x-appwrite": {
"method": "deleteSessions",
"group": "sessions",
- "weight": 273,
+ "weight": 275,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24624,7 +24876,7 @@
"x-appwrite": {
"method": "deleteSession",
"group": "sessions",
- "weight": 272,
+ "weight": 274,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24696,7 +24948,7 @@
"x-appwrite": {
"method": "updateStatus",
"group": "users",
- "weight": 254,
+ "weight": 256,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24777,7 +25029,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "targets",
- "weight": 252,
+ "weight": 254,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24816,7 +25068,7 @@
},
{
"name": "queries",
- "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType",
"required": false,
"schema": {
"type": "array",
@@ -24851,7 +25103,7 @@
"x-appwrite": {
"method": "createTarget",
"group": "targets",
- "weight": 244,
+ "weight": 246,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24962,7 +25214,7 @@
"x-appwrite": {
"method": "getTarget",
"group": "targets",
- "weight": 248,
+ "weight": 250,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25033,7 +25285,7 @@
"x-appwrite": {
"method": "updateTarget",
"group": "targets",
- "weight": 263,
+ "weight": 265,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25123,7 +25375,7 @@
"x-appwrite": {
"method": "deleteTarget",
"group": "targets",
- "weight": 275,
+ "weight": 277,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25196,7 +25448,7 @@
"x-appwrite": {
"method": "createToken",
"group": "sessions",
- "weight": 271,
+ "weight": 273,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25279,7 +25531,7 @@
"x-appwrite": {
"method": "updateEmailVerification",
"group": "users",
- "weight": 261,
+ "weight": 263,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25360,7 +25612,7 @@
"x-appwrite": {
"method": "updatePhoneVerification",
"group": "users",
- "weight": 256,
+ "weight": 258,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27312,6 +27564,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -27346,6 +27604,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json
new file mode 100644
index 0000000000..8f03738786
--- /dev/null
+++ b/app/config/specs/open-api3-1.8.x-client.json
@@ -0,0 +1,10117 @@
+{
+ "openapi": "3.0.0",
+ "info": {
+ "version": "1.7.4",
+ "title": "Appwrite",
+ "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)",
+ "termsOfService": "https:\/\/appwrite.io\/policy\/terms",
+ "contact": {
+ "name": "Appwrite Team",
+ "url": "https:\/\/appwrite.io\/support",
+ "email": "team@appwrite.io"
+ },
+ "license": {
+ "name": "BSD-3-Clause",
+ "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"
+ }
+ },
+ "servers": [
+ {
+ "url": "https:\/\/cloud.appwrite.io\/v1"
+ },
+ {
+ "url": "https:\/\/.cloud.appwrite.io\/v1"
+ }
+ ],
+ "paths": {
+ "\/account": {
+ "get": {
+ "summary": "Get account",
+ "operationId": "accountGet",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "get",
+ "group": "account",
+ "weight": 10,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create account",
+ "operationId": "accountCreate",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).",
+ "responses": {
+ "201": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "create",
+ "group": "account",
+ "weight": 9,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "password": {
+ "type": "string",
+ "description": "New user password. Must be between 8 and 256 chars.",
+ "x-example": null
+ },
+ "name": {
+ "type": "string",
+ "description": "User name. Max length: 128 chars.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "email",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/email": {
+ "patch": {
+ "summary": "Update email",
+ "operationId": "accountUpdateEmail",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateEmail",
+ "group": "account",
+ "weight": 35,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-email.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "password": {
+ "type": "string",
+ "description": "User password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "email",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/identities": {
+ "get": {
+ "summary": "List identities",
+ "operationId": "accountListIdentities",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the list of identities for the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "Identities List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/identityList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listIdentities",
+ "group": "identities",
+ "weight": 58,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-identities.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/identities\/{identityId}": {
+ "delete": {
+ "summary": "Delete identity",
+ "operationId": "accountDeleteIdentity",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete an identity by its unique ID.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteIdentity",
+ "group": "identities",
+ "weight": 59,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-identity.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "identityId",
+ "description": "Identity ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/jwts": {
+ "post": {
+ "summary": "Create JWT",
+ "operationId": "accountCreateJWT",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.",
+ "responses": {
+ "201": {
+ "description": "JWT",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/jwt"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createJWT",
+ "group": "tokens",
+ "weight": 30,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-j-w-t.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md",
+ "rate-limit": 100,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{userId}",
+ "scope": "account",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ]
+ }
+ },
+ "\/account\/logs": {
+ "get": {
+ "summary": "List logs",
+ "operationId": "accountListLogs",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.",
+ "responses": {
+ "200": {
+ "description": "Logs List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/logList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listLogs",
+ "group": "logs",
+ "weight": 32,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-logs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/mfa": {
+ "patch": {
+ "summary": "Update MFA",
+ "operationId": "accountUpdateMFA",
+ "tags": [
+ "account"
+ ],
+ "description": "Enable or disable MFA on an account.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMFA",
+ "group": "mfa",
+ "weight": 45,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-m-f-a.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "mfa": {
+ "type": "boolean",
+ "description": "Enable or disable MFA.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "mfa"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/mfa\/authenticators\/{type}": {
+ "post": {
+ "summary": "Create authenticator",
+ "operationId": "accountCreateMfaAuthenticator",
+ "tags": [
+ "account"
+ ],
+ "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.",
+ "responses": {
+ "200": {
+ "description": "MFAType",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaType"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMfaAuthenticator",
+ "group": "mfa",
+ "weight": 47,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-mfa-authenticator.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "type",
+ "description": "Type of authenticator. Must be `totp`",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "totp",
+ "enum": [
+ "totp"
+ ],
+ "x-enum-name": "AuthenticatorType",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update authenticator (confirmation)",
+ "operationId": "accountUpdateMfaAuthenticator",
+ "tags": [
+ "account"
+ ],
+ "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMfaAuthenticator",
+ "group": "mfa",
+ "weight": 48,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-mfa-authenticator.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "type",
+ "description": "Type of authenticator.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "totp",
+ "enum": [
+ "totp"
+ ],
+ "x-enum-name": "AuthenticatorType",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "otp": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "otp"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete authenticator",
+ "operationId": "accountDeleteMfaAuthenticator",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete an authenticator for a user by ID.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteMfaAuthenticator",
+ "group": "mfa",
+ "weight": 52,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-mfa-authenticator.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "type",
+ "description": "Type of authenticator.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "totp",
+ "enum": [
+ "totp"
+ ],
+ "x-enum-name": "AuthenticatorType",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/mfa\/challenge": {
+ "post": {
+ "summary": "Create MFA challenge",
+ "operationId": "accountCreateMfaChallenge",
+ "tags": [
+ "account"
+ ],
+ "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.",
+ "responses": {
+ "201": {
+ "description": "MFA Challenge",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaChallenge"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMfaChallenge",
+ "group": "mfa",
+ "weight": 53,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-mfa-challenge.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{userId}",
+ "scope": "account",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "factor": {
+ "type": "string",
+ "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.",
+ "x-example": "email",
+ "enum": [
+ "email",
+ "phone",
+ "totp",
+ "recoverycode"
+ ],
+ "x-enum-name": "AuthenticationFactor",
+ "x-enum-keys": []
+ }
+ },
+ "required": [
+ "factor"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "summary": "Update MFA challenge (confirmation)",
+ "operationId": "accountUpdateMfaChallenge",
+ "tags": [
+ "account"
+ ],
+ "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.",
+ "responses": {
+ "200": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMfaChallenge",
+ "group": "mfa",
+ "weight": 54,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-mfa-challenge.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},challengeId:{param-challengeId}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "challengeId": {
+ "type": "string",
+ "description": "ID of the challenge.",
+ "x-example": ""
+ },
+ "otp": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "challengeId",
+ "otp"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/mfa\/factors": {
+ "get": {
+ "summary": "List factors",
+ "operationId": "accountListMfaFactors",
+ "tags": [
+ "account"
+ ],
+ "description": "List the factors available on the account to be used as a MFA challange.",
+ "responses": {
+ "200": {
+ "description": "MFAFactors",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaFactors"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listMfaFactors",
+ "group": "mfa",
+ "weight": 46,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-mfa-factors.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/mfa\/recovery-codes": {
+ "get": {
+ "summary": "List MFA recovery codes",
+ "operationId": "accountGetMfaRecoveryCodes",
+ "tags": [
+ "account"
+ ],
+ "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.",
+ "responses": {
+ "200": {
+ "description": "MFA Recovery Codes",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaRecoveryCodes"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getMfaRecoveryCodes",
+ "group": "mfa",
+ "weight": 51,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get-mfa-recovery-codes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create MFA recovery codes",
+ "operationId": "accountCreateMfaRecoveryCodes",
+ "tags": [
+ "account"
+ ],
+ "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.",
+ "responses": {
+ "201": {
+ "description": "MFA Recovery Codes",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaRecoveryCodes"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMfaRecoveryCodes",
+ "group": "mfa",
+ "weight": 49,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-mfa-recovery-codes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ },
+ "patch": {
+ "summary": "Update MFA recovery codes (regenerate)",
+ "operationId": "accountUpdateMfaRecoveryCodes",
+ "tags": [
+ "account"
+ ],
+ "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.",
+ "responses": {
+ "200": {
+ "description": "MFA Recovery Codes",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaRecoveryCodes"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMfaRecoveryCodes",
+ "group": "mfa",
+ "weight": 50,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-mfa-recovery-codes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/name": {
+ "patch": {
+ "summary": "Update name",
+ "operationId": "accountUpdateName",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user account name.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateName",
+ "group": "account",
+ "weight": 33,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-name.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "User name. Max length: 128 chars.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/password": {
+ "patch": {
+ "summary": "Update password",
+ "operationId": "accountUpdatePassword",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePassword",
+ "group": "account",
+ "weight": 34,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-password.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "New user password. Must be at least 8 chars.",
+ "x-example": null
+ },
+ "oldPassword": {
+ "type": "string",
+ "description": "Current user password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/phone": {
+ "patch": {
+ "summary": "Update phone",
+ "operationId": "accountUpdatePhone",
+ "tags": [
+ "account"
+ ],
+ "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePhone",
+ "group": "account",
+ "weight": 36,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-phone.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "phone": {
+ "type": "string",
+ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
+ "x-example": "+12065550100"
+ },
+ "password": {
+ "type": "string",
+ "description": "User password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "phone",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/prefs": {
+ "get": {
+ "summary": "Get account preferences",
+ "operationId": "accountGetPrefs",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the preferences as a key-value object for the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "Preferences",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/preferences"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getPrefs",
+ "group": "account",
+ "weight": 31,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get-prefs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ },
+ "patch": {
+ "summary": "Update preferences",
+ "operationId": "accountUpdatePrefs",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePrefs",
+ "group": "account",
+ "weight": 37,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-prefs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "prefs": {
+ "type": "object",
+ "description": "Prefs key-value JSON object.",
+ "x-example": "{}"
+ }
+ },
+ "required": [
+ "prefs"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/recovery": {
+ "post": {
+ "summary": "Create password recovery",
+ "operationId": "accountCreateRecovery",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createRecovery",
+ "group": "recovery",
+ "weight": 39,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-recovery.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},email:{param-email}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "url": {
+ "type": "string",
+ "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
+ "x-example": "https:\/\/example.com"
+ }
+ },
+ "required": [
+ "email",
+ "url"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "summary": "Update password recovery (confirmation)",
+ "operationId": "accountUpdateRecovery",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\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.",
+ "responses": {
+ "200": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateRecovery",
+ "group": "recovery",
+ "weight": 40,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-recovery.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid reset token.",
+ "x-example": ""
+ },
+ "password": {
+ "type": "string",
+ "description": "New user password. Must be between 8 and 256 chars.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "userId",
+ "secret",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions": {
+ "get": {
+ "summary": "List sessions",
+ "operationId": "accountListSessions",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the list of active sessions across different devices for the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "Sessions List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/sessionList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listSessions",
+ "group": "sessions",
+ "weight": 12,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-sessions.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ },
+ "delete": {
+ "summary": "Delete sessions",
+ "operationId": "accountDeleteSessions",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteSessions",
+ "group": "sessions",
+ "weight": 13,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-sessions.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md",
+ "rate-limit": 100,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/sessions\/anonymous": {
+ "post": {
+ "summary": "Create anonymous session",
+ "operationId": "accountCreateAnonymousSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createAnonymousSession",
+ "group": "sessions",
+ "weight": 18,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-anonymous-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md",
+ "rate-limit": 50,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ]
+ }
+ },
+ "\/account\/sessions\/email": {
+ "post": {
+ "summary": "Create email password session",
+ "operationId": "accountCreateEmailPasswordSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createEmailPasswordSession",
+ "group": "sessions",
+ "weight": 17,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-email-password-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},email:{param-email}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "password": {
+ "type": "string",
+ "description": "User password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "email",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/magic-url": {
+ "put": {
+ "summary": "Update magic URL session",
+ "operationId": "accountUpdateMagicURLSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMagicURLSession",
+ "group": "sessions",
+ "weight": 27,
+ "cookies": false,
+ "type": "",
+ "deprecated": true,
+ "demo": "account\/update-magic-u-r-l-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/oauth2\/{provider}": {
+ "get": {
+ "summary": "Create OAuth2 session",
+ "operationId": "accountCreateOAuth2Session",
+ "tags": [
+ "account"
+ ],
+ "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
+ "responses": {
+ "301": {
+ "description": "File"
+ }
+ },
+ "x-appwrite": {
+ "method": "createOAuth2Session",
+ "group": "sessions",
+ "weight": 20,
+ "cookies": false,
+ "type": "webAuth",
+ "deprecated": false,
+ "demo": "account\/create-o-auth2session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md",
+ "rate-limit": 50,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "provider",
+ "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "amazon",
+ "enum": [
+ "amazon",
+ "apple",
+ "auth0",
+ "authentik",
+ "autodesk",
+ "bitbucket",
+ "bitly",
+ "box",
+ "dailymotion",
+ "discord",
+ "disqus",
+ "dropbox",
+ "etsy",
+ "facebook",
+ "figma",
+ "github",
+ "gitlab",
+ "google",
+ "linkedin",
+ "microsoft",
+ "notion",
+ "oidc",
+ "okta",
+ "paypal",
+ "paypalSandbox",
+ "podio",
+ "salesforce",
+ "slack",
+ "spotify",
+ "stripe",
+ "tradeshift",
+ "tradeshiftBox",
+ "twitch",
+ "wordpress",
+ "yahoo",
+ "yammer",
+ "yandex",
+ "zoho",
+ "zoom",
+ "mock"
+ ],
+ "x-enum-name": "OAuthProvider",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ },
+ {
+ "name": "success",
+ "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "failure",
+ "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "scopes",
+ "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/sessions\/phone": {
+ "put": {
+ "summary": "Update phone session",
+ "operationId": "accountUpdatePhoneSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePhoneSession",
+ "group": "sessions",
+ "weight": 28,
+ "cookies": false,
+ "type": "",
+ "deprecated": true,
+ "demo": "account\/update-phone-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/token": {
+ "post": {
+ "summary": "Create session",
+ "operationId": "accountCreateSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createSession",
+ "group": "sessions",
+ "weight": 19,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/{sessionId}": {
+ "get": {
+ "summary": "Get session",
+ "operationId": "accountGetSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.",
+ "responses": {
+ "200": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getSession",
+ "group": "sessions",
+ "weight": 14,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "sessionId",
+ "description": "Session ID. Use the string 'current' to get the current device session.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "patch": {
+ "summary": "Update session",
+ "operationId": "accountUpdateSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.",
+ "responses": {
+ "200": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateSession",
+ "group": "sessions",
+ "weight": 16,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "sessionId",
+ "description": "Session ID. Use the string 'current' to update the current device session.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "delete": {
+ "summary": "Delete session",
+ "operationId": "accountDeleteSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteSession",
+ "group": "sessions",
+ "weight": 15,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md",
+ "rate-limit": 100,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "sessionId",
+ "description": "Session ID. Use the string 'current' to delete the current device session.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/status": {
+ "patch": {
+ "summary": "Update status",
+ "operationId": "accountUpdateStatus",
+ "tags": [
+ "account"
+ ],
+ "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateStatus",
+ "group": "account",
+ "weight": 38,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-status.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/targets\/push": {
+ "post": {
+ "summary": "Create push target",
+ "operationId": "accountCreatePushTarget",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to register a device for push notifications. Provide a target ID (custom or generated using ID.unique()), a device identifier (usually a device token), and optionally specify which provider should send notifications to this target. The target is automatically linked to the current session and includes device information like brand and model.",
+ "responses": {
+ "201": {
+ "description": "Target",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/target"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createPushTarget",
+ "group": "pushTargets",
+ "weight": 55,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-push-target.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "targets.write",
+ "platforms": [
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "targetId": {
+ "type": "string",
+ "description": "Target 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.",
+ "x-example": ""
+ },
+ "identifier": {
+ "type": "string",
+ "description": "The target identifier (token, email, phone etc.)",
+ "x-example": ""
+ },
+ "providerId": {
+ "type": "string",
+ "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "targetId",
+ "identifier"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/targets\/{targetId}\/push": {
+ "put": {
+ "summary": "Update push target",
+ "operationId": "accountUpdatePushTarget",
+ "tags": [
+ "account"
+ ],
+ "description": "Update the currently logged in user's push notification target. You can modify the target's identifier (device token) and provider ID (token, email, phone etc.). The target must exist and belong to the current user. If you change the provider ID, notifications will be sent through the new messaging provider instead.",
+ "responses": {
+ "200": {
+ "description": "Target",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/target"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePushTarget",
+ "group": "pushTargets",
+ "weight": 56,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-push-target.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "targets.write",
+ "platforms": [
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "targetId",
+ "description": "Target ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "identifier": {
+ "type": "string",
+ "description": "The target identifier (token, email, phone etc.)",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "identifier"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete push target",
+ "operationId": "accountDeletePushTarget",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete a push notification target for the currently logged in user. After deletion, the device will no longer receive push notifications. The target must exist and belong to the current user.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deletePushTarget",
+ "group": "pushTargets",
+ "weight": 57,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-push-target.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "targets.write",
+ "platforms": [
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "targetId",
+ "description": "Target ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/tokens\/email": {
+ "post": {
+ "summary": "Create email token (OTP)",
+ "operationId": "accountCreateEmailToken",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createEmailToken",
+ "group": "tokens",
+ "weight": 26,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-email-token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},email:{param-email}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "phrase": {
+ "type": "boolean",
+ "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "userId",
+ "email"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/tokens\/magic-url": {
+ "post": {
+ "summary": "Create magic URL token",
+ "operationId": "accountCreateMagicURLToken",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMagicURLToken",
+ "group": "tokens",
+ "weight": 25,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-magic-u-r-l-token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md",
+ "rate-limit": 60,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},email:{param-email}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "Unique 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.",
+ "x-example": ""
+ },
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "url": {
+ "type": "string",
+ "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
+ "x-example": "https:\/\/example.com"
+ },
+ "phrase": {
+ "type": "boolean",
+ "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "userId",
+ "email"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/tokens\/oauth2\/{provider}": {
+ "get": {
+ "summary": "Create OAuth2 token",
+ "operationId": "accountCreateOAuth2Token",
+ "tags": [
+ "account"
+ ],
+ "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "301": {
+ "description": "File"
+ }
+ },
+ "x-appwrite": {
+ "method": "createOAuth2Token",
+ "group": "tokens",
+ "weight": 24,
+ "cookies": false,
+ "type": "webAuth",
+ "deprecated": false,
+ "demo": "account\/create-o-auth2token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md",
+ "rate-limit": 50,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "provider",
+ "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "amazon",
+ "enum": [
+ "amazon",
+ "apple",
+ "auth0",
+ "authentik",
+ "autodesk",
+ "bitbucket",
+ "bitly",
+ "box",
+ "dailymotion",
+ "discord",
+ "disqus",
+ "dropbox",
+ "etsy",
+ "facebook",
+ "figma",
+ "github",
+ "gitlab",
+ "google",
+ "linkedin",
+ "microsoft",
+ "notion",
+ "oidc",
+ "okta",
+ "paypal",
+ "paypalSandbox",
+ "podio",
+ "salesforce",
+ "slack",
+ "spotify",
+ "stripe",
+ "tradeshift",
+ "tradeshiftBox",
+ "twitch",
+ "wordpress",
+ "yahoo",
+ "yammer",
+ "yandex",
+ "zoho",
+ "zoom",
+ "mock"
+ ],
+ "x-enum-name": "OAuthProvider",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ },
+ {
+ "name": "success",
+ "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "failure",
+ "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "scopes",
+ "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/tokens\/phone": {
+ "post": {
+ "summary": "Create phone token",
+ "operationId": "accountCreatePhoneToken",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createPhoneToken",
+ "group": "tokens",
+ "weight": 29,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-phone-token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},phone:{param-phone}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "Unique 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.",
+ "x-example": ""
+ },
+ "phone": {
+ "type": "string",
+ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
+ "x-example": "+12065550100"
+ }
+ },
+ "required": [
+ "userId",
+ "phone"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/verification": {
+ "post": {
+ "summary": "Create email verification",
+ "operationId": "accountCreateVerification",
+ "tags": [
+ "account"
+ ],
+ "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",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createVerification",
+ "group": "verification",
+ "weight": 41,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{userId}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
+ "x-example": "https:\/\/example.com"
+ }
+ },
+ "required": [
+ "url"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "summary": "Update email verification (confirmation)",
+ "operationId": "accountUpdateVerification",
+ "tags": [
+ "account"
+ ],
+ "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.",
+ "responses": {
+ "200": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateVerification",
+ "group": "verification",
+ "weight": 42,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{param-userId}",
+ "scope": "public",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/verification\/phone": {
+ "post": {
+ "summary": "Create phone verification",
+ "operationId": "accountCreatePhoneVerification",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createPhoneVerification",
+ "group": "verification",
+ "weight": 43,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-phone-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},userId:{userId}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update phone verification (confirmation)",
+ "operationId": "accountUpdatePhoneVerification",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.",
+ "responses": {
+ "200": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePhoneVerification",
+ "group": "verification",
+ "weight": 44,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-phone-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "userId:{param-userId}",
+ "scope": "public",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/avatars\/browsers\/{code}": {
+ "get": {
+ "summary": "Get browser icon",
+ "operationId": "avatarsGetBrowser",
+ "tags": [
+ "avatars"
+ ],
+ "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getBrowser",
+ "group": null,
+ "weight": 61,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-browser.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "code",
+ "description": "Browser Code.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "aa",
+ "enum": [
+ "aa",
+ "an",
+ "ch",
+ "ci",
+ "cm",
+ "cr",
+ "ff",
+ "sf",
+ "mf",
+ "ps",
+ "oi",
+ "om",
+ "op",
+ "on"
+ ],
+ "x-enum-name": "Browser",
+ "x-enum-keys": [
+ "Avant Browser",
+ "Android WebView Beta",
+ "Google Chrome",
+ "Google Chrome (iOS)",
+ "Google Chrome (Mobile)",
+ "Chromium",
+ "Mozilla Firefox",
+ "Safari",
+ "Mobile Safari",
+ "Microsoft Edge",
+ "Microsoft Edge (iOS)",
+ "Opera Mini",
+ "Opera",
+ "Opera (Next)"
+ ]
+ },
+ "in": "path"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "quality",
+ "description": "Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -1,
+ "default": -1
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/credit-cards\/{code}": {
+ "get": {
+ "summary": "Get credit card icon",
+ "operationId": "avatarsGetCreditCard",
+ "tags": [
+ "avatars"
+ ],
+ "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getCreditCard",
+ "group": null,
+ "weight": 60,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-credit-card.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "code",
+ "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "amex",
+ "enum": [
+ "amex",
+ "argencard",
+ "cabal",
+ "cencosud",
+ "diners",
+ "discover",
+ "elo",
+ "hipercard",
+ "jcb",
+ "mastercard",
+ "naranja",
+ "targeta-shopping",
+ "union-china-pay",
+ "visa",
+ "mir",
+ "maestro",
+ "rupay"
+ ],
+ "x-enum-name": "CreditCard",
+ "x-enum-keys": [
+ "American Express",
+ "Argencard",
+ "Cabal",
+ "Cencosud",
+ "Diners Club",
+ "Discover",
+ "Elo",
+ "Hipercard",
+ "JCB",
+ "Mastercard",
+ "Naranja",
+ "Tarjeta Shopping",
+ "Union China Pay",
+ "Visa",
+ "MIR",
+ "Maestro",
+ "Rupay"
+ ]
+ },
+ "in": "path"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "quality",
+ "description": "Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -1,
+ "default": -1
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/favicon": {
+ "get": {
+ "summary": "Get favicon",
+ "operationId": "avatarsGetFavicon",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getFavicon",
+ "group": null,
+ "weight": 64,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-favicon.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "url",
+ "description": "Website URL which you want to fetch the favicon from.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com"
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/flags\/{code}": {
+ "get": {
+ "summary": "Get country flag",
+ "operationId": "avatarsGetFlag",
+ "tags": [
+ "avatars"
+ ],
+ "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getFlag",
+ "group": null,
+ "weight": 62,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-flag.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "code",
+ "description": "Country Code. ISO Alpha-2 country code format.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "af",
+ "enum": [
+ "af",
+ "ao",
+ "al",
+ "ad",
+ "ae",
+ "ar",
+ "am",
+ "ag",
+ "au",
+ "at",
+ "az",
+ "bi",
+ "be",
+ "bj",
+ "bf",
+ "bd",
+ "bg",
+ "bh",
+ "bs",
+ "ba",
+ "by",
+ "bz",
+ "bo",
+ "br",
+ "bb",
+ "bn",
+ "bt",
+ "bw",
+ "cf",
+ "ca",
+ "ch",
+ "cl",
+ "cn",
+ "ci",
+ "cm",
+ "cd",
+ "cg",
+ "co",
+ "km",
+ "cv",
+ "cr",
+ "cu",
+ "cy",
+ "cz",
+ "de",
+ "dj",
+ "dm",
+ "dk",
+ "do",
+ "dz",
+ "ec",
+ "eg",
+ "er",
+ "es",
+ "ee",
+ "et",
+ "fi",
+ "fj",
+ "fr",
+ "fm",
+ "ga",
+ "gb",
+ "ge",
+ "gh",
+ "gn",
+ "gm",
+ "gw",
+ "gq",
+ "gr",
+ "gd",
+ "gt",
+ "gy",
+ "hn",
+ "hr",
+ "ht",
+ "hu",
+ "id",
+ "in",
+ "ie",
+ "ir",
+ "iq",
+ "is",
+ "il",
+ "it",
+ "jm",
+ "jo",
+ "jp",
+ "kz",
+ "ke",
+ "kg",
+ "kh",
+ "ki",
+ "kn",
+ "kr",
+ "kw",
+ "la",
+ "lb",
+ "lr",
+ "ly",
+ "lc",
+ "li",
+ "lk",
+ "ls",
+ "lt",
+ "lu",
+ "lv",
+ "ma",
+ "mc",
+ "md",
+ "mg",
+ "mv",
+ "mx",
+ "mh",
+ "mk",
+ "ml",
+ "mt",
+ "mm",
+ "me",
+ "mn",
+ "mz",
+ "mr",
+ "mu",
+ "mw",
+ "my",
+ "na",
+ "ne",
+ "ng",
+ "ni",
+ "nl",
+ "no",
+ "np",
+ "nr",
+ "nz",
+ "om",
+ "pk",
+ "pa",
+ "pe",
+ "ph",
+ "pw",
+ "pg",
+ "pl",
+ "pf",
+ "kp",
+ "pt",
+ "py",
+ "qa",
+ "ro",
+ "ru",
+ "rw",
+ "sa",
+ "sd",
+ "sn",
+ "sg",
+ "sb",
+ "sl",
+ "sv",
+ "sm",
+ "so",
+ "rs",
+ "ss",
+ "st",
+ "sr",
+ "sk",
+ "si",
+ "se",
+ "sz",
+ "sc",
+ "sy",
+ "td",
+ "tg",
+ "th",
+ "tj",
+ "tm",
+ "tl",
+ "to",
+ "tt",
+ "tn",
+ "tr",
+ "tv",
+ "tz",
+ "ug",
+ "ua",
+ "uy",
+ "us",
+ "uz",
+ "va",
+ "vc",
+ "ve",
+ "vn",
+ "vu",
+ "ws",
+ "ye",
+ "za",
+ "zm",
+ "zw"
+ ],
+ "x-enum-name": "Flag",
+ "x-enum-keys": [
+ "Afghanistan",
+ "Angola",
+ "Albania",
+ "Andorra",
+ "United Arab Emirates",
+ "Argentina",
+ "Armenia",
+ "Antigua and Barbuda",
+ "Australia",
+ "Austria",
+ "Azerbaijan",
+ "Burundi",
+ "Belgium",
+ "Benin",
+ "Burkina Faso",
+ "Bangladesh",
+ "Bulgaria",
+ "Bahrain",
+ "Bahamas",
+ "Bosnia and Herzegovina",
+ "Belarus",
+ "Belize",
+ "Bolivia",
+ "Brazil",
+ "Barbados",
+ "Brunei Darussalam",
+ "Bhutan",
+ "Botswana",
+ "Central African Republic",
+ "Canada",
+ "Switzerland",
+ "Chile",
+ "China",
+ "C\u00f4te d'Ivoire",
+ "Cameroon",
+ "Democratic Republic of the Congo",
+ "Republic of the Congo",
+ "Colombia",
+ "Comoros",
+ "Cape Verde",
+ "Costa Rica",
+ "Cuba",
+ "Cyprus",
+ "Czech Republic",
+ "Germany",
+ "Djibouti",
+ "Dominica",
+ "Denmark",
+ "Dominican Republic",
+ "Algeria",
+ "Ecuador",
+ "Egypt",
+ "Eritrea",
+ "Spain",
+ "Estonia",
+ "Ethiopia",
+ "Finland",
+ "Fiji",
+ "France",
+ "Micronesia (Federated States of)",
+ "Gabon",
+ "United Kingdom",
+ "Georgia",
+ "Ghana",
+ "Guinea",
+ "Gambia",
+ "Guinea-Bissau",
+ "Equatorial Guinea",
+ "Greece",
+ "Grenada",
+ "Guatemala",
+ "Guyana",
+ "Honduras",
+ "Croatia",
+ "Haiti",
+ "Hungary",
+ "Indonesia",
+ "India",
+ "Ireland",
+ "Iran (Islamic Republic of)",
+ "Iraq",
+ "Iceland",
+ "Israel",
+ "Italy",
+ "Jamaica",
+ "Jordan",
+ "Japan",
+ "Kazakhstan",
+ "Kenya",
+ "Kyrgyzstan",
+ "Cambodia",
+ "Kiribati",
+ "Saint Kitts and Nevis",
+ "South Korea",
+ "Kuwait",
+ "Lao People's Democratic Republic",
+ "Lebanon",
+ "Liberia",
+ "Libya",
+ "Saint Lucia",
+ "Liechtenstein",
+ "Sri Lanka",
+ "Lesotho",
+ "Lithuania",
+ "Luxembourg",
+ "Latvia",
+ "Morocco",
+ "Monaco",
+ "Moldova",
+ "Madagascar",
+ "Maldives",
+ "Mexico",
+ "Marshall Islands",
+ "North Macedonia",
+ "Mali",
+ "Malta",
+ "Myanmar",
+ "Montenegro",
+ "Mongolia",
+ "Mozambique",
+ "Mauritania",
+ "Mauritius",
+ "Malawi",
+ "Malaysia",
+ "Namibia",
+ "Niger",
+ "Nigeria",
+ "Nicaragua",
+ "Netherlands",
+ "Norway",
+ "Nepal",
+ "Nauru",
+ "New Zealand",
+ "Oman",
+ "Pakistan",
+ "Panama",
+ "Peru",
+ "Philippines",
+ "Palau",
+ "Papua New Guinea",
+ "Poland",
+ "French Polynesia",
+ "North Korea",
+ "Portugal",
+ "Paraguay",
+ "Qatar",
+ "Romania",
+ "Russia",
+ "Rwanda",
+ "Saudi Arabia",
+ "Sudan",
+ "Senegal",
+ "Singapore",
+ "Solomon Islands",
+ "Sierra Leone",
+ "El Salvador",
+ "San Marino",
+ "Somalia",
+ "Serbia",
+ "South Sudan",
+ "Sao Tome and Principe",
+ "Suriname",
+ "Slovakia",
+ "Slovenia",
+ "Sweden",
+ "Eswatini",
+ "Seychelles",
+ "Syria",
+ "Chad",
+ "Togo",
+ "Thailand",
+ "Tajikistan",
+ "Turkmenistan",
+ "Timor-Leste",
+ "Tonga",
+ "Trinidad and Tobago",
+ "Tunisia",
+ "Turkey",
+ "Tuvalu",
+ "Tanzania",
+ "Uganda",
+ "Ukraine",
+ "Uruguay",
+ "United States",
+ "Uzbekistan",
+ "Vatican City",
+ "Saint Vincent and the Grenadines",
+ "Venezuela",
+ "Vietnam",
+ "Vanuatu",
+ "Samoa",
+ "Yemen",
+ "South Africa",
+ "Zambia",
+ "Zimbabwe"
+ ]
+ },
+ "in": "path"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "quality",
+ "description": "Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -1,
+ "default": -1
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/image": {
+ "get": {
+ "summary": "Get image from URL",
+ "operationId": "avatarsGetImage",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getImage",
+ "group": null,
+ "weight": 63,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-image.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "url",
+ "description": "Image URL which you want to crop.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com"
+ },
+ "in": "query"
+ },
+ {
+ "name": "width",
+ "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 400
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 400
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/initials": {
+ "get": {
+ "summary": "Get user initials",
+ "operationId": "avatarsGetInitials",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getInitials",
+ "group": null,
+ "weight": 66,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-initials.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "name",
+ "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 500
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 500
+ },
+ "in": "query"
+ },
+ {
+ "name": "background",
+ "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/qr": {
+ "get": {
+ "summary": "Get QR code",
+ "operationId": "avatarsGetQR",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getQR",
+ "group": null,
+ "weight": 65,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-q-r.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "text",
+ "description": "Plain text to be converted to QR code image.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "size",
+ "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 1,
+ "default": 400
+ },
+ "in": "query"
+ },
+ {
+ "name": "margin",
+ "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 1
+ },
+ "in": "query"
+ },
+ {
+ "name": "download",
+ "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "x-example": false,
+ "default": false
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": {
+ "get": {
+ "summary": "List documents",
+ "operationId": "databasesListDocuments",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.",
+ "responses": {
+ "200": {
+ "description": "Documents List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/documentList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listDocuments",
+ "group": "documents",
+ "weight": 110,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/list-documents.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "documents.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create document",
+ "operationId": "databasesCreateDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "responses": {
+ "201": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createDocument",
+ "group": "documents",
+ "weight": 109,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "methods": [
+ {
+ "name": "createDocument",
+ "auth": {
+ "Admin": [],
+ "Session": [],
+ "Key": [],
+ "JWT": []
+ },
+ "parameters": [
+ "databaseId",
+ "collectionId",
+ "documentId",
+ "data",
+ "permissions"
+ ],
+ "required": [
+ "databaseId",
+ "collectionId",
+ "documentId",
+ "data"
+ ],
+ "responses": [
+ {
+ "code": 201,
+ "model": "#\/components\/schemas\/document"
+ }
+ ],
+ "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
+ }
+ ],
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "documentId": {
+ "type": "string",
+ "description": "Document 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.",
+ "x-example": ""
+ },
+ "data": {
+ "type": "object",
+ "description": "Document data as JSON object.",
+ "x-example": "{}"
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ },
+ "documents": {
+ "type": "array",
+ "description": "Array of documents data as JSON objects.",
+ "x-example": null,
+ "items": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": {
+ "get": {
+ "summary": "Get document",
+ "operationId": "databasesGetDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getDocument",
+ "group": "documents",
+ "weight": 111,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/get-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "documents.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Upsert document",
+ "operationId": "databasesUpsertDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create or update a Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "upsertDocument",
+ "group": "documents",
+ "weight": 114,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/upsert-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "object",
+ "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.",
+ "x-example": "{}"
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "data"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update document",
+ "operationId": "databasesUpdateDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateDocument",
+ "group": "documents",
+ "weight": 113,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "object",
+ "description": "Document data as JSON object. Include only attribute and value pairs to be updated.",
+ "x-example": "{}"
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete document",
+ "operationId": "databasesDeleteDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Delete a document by its unique ID.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteDocument",
+ "group": "documents",
+ "weight": 119,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/delete-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md",
+ "rate-limit": 60,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "min": {
+ "type": "number",
+ "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "max": {
+ "type": "number",
+ "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/functions\/{functionId}\/executions": {
+ "get": {
+ "summary": "List executions",
+ "operationId": "functionsListExecutions",
+ "tags": [
+ "functions"
+ ],
+ "description": "Get a list of all the current user function execution logs. You can use the query params to filter your results.",
+ "responses": {
+ "200": {
+ "description": "Executions List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/executionList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listExecutions",
+ "group": "executions",
+ "weight": 394,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "functions\/list-executions.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "execution.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "functionId",
+ "description": "Function ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create execution",
+ "operationId": "functionsCreateExecution",
+ "tags": [
+ "functions"
+ ],
+ "description": "Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.",
+ "responses": {
+ "201": {
+ "description": "Execution",
+ "content": {
+ "multipart\/form-data": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/execution"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createExecution",
+ "group": "executions",
+ "weight": 392,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "functions\/create-execution.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "execution.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "functionId",
+ "description": "Function ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "string",
+ "description": "HTTP body of execution. Default value is empty string.",
+ "x-example": ""
+ },
+ "async": {
+ "type": "boolean",
+ "description": "Execute code in the background. Default value is false.",
+ "x-example": false
+ },
+ "path": {
+ "type": "string",
+ "description": "HTTP path of execution. Path can include query params. Default value is \/",
+ "x-example": ""
+ },
+ "method": {
+ "type": "string",
+ "description": "HTTP method of execution. Default value is GET.",
+ "x-example": "GET",
+ "enum": [
+ "GET",
+ "POST",
+ "PUT",
+ "PATCH",
+ "DELETE",
+ "OPTIONS"
+ ],
+ "x-enum-name": "ExecutionMethod",
+ "x-enum-keys": []
+ },
+ "headers": {
+ "type": "string",
+ "description": "HTTP headers of execution. Defaults to empty.",
+ "x-example": null
+ },
+ "scheduledAt": {
+ "type": "string",
+ "description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/functions\/{functionId}\/executions\/{executionId}": {
+ "get": {
+ "summary": "Get execution",
+ "operationId": "functionsGetExecution",
+ "tags": [
+ "functions"
+ ],
+ "description": "Get a function execution log by its unique ID.",
+ "responses": {
+ "200": {
+ "description": "Execution",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/execution"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getExecution",
+ "group": "executions",
+ "weight": 393,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "functions\/get-execution.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "execution.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "functionId",
+ "description": "Function ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "executionId",
+ "description": "Execution ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/graphql": {
+ "post": {
+ "summary": "GraphQL endpoint",
+ "operationId": "graphqlQuery",
+ "tags": [
+ "graphql"
+ ],
+ "description": "Execute a GraphQL mutation.",
+ "responses": {
+ "200": {
+ "description": "Any",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/any"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "query",
+ "group": "graphql",
+ "weight": 308,
+ "cookies": false,
+ "type": "graphql",
+ "deprecated": false,
+ "demo": "graphql\/query.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md",
+ "rate-limit": 60,
+ "rate-time": 60,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "graphql",
+ "platforms": [
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/graphql\/mutation": {
+ "post": {
+ "summary": "GraphQL endpoint",
+ "operationId": "graphqlMutation",
+ "tags": [
+ "graphql"
+ ],
+ "description": "Execute a GraphQL mutation.",
+ "responses": {
+ "200": {
+ "description": "Any",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/any"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "mutation",
+ "group": "graphql",
+ "weight": 307,
+ "cookies": false,
+ "type": "graphql",
+ "deprecated": false,
+ "demo": "graphql\/mutation.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md",
+ "rate-limit": 60,
+ "rate-time": 60,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "graphql",
+ "platforms": [
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale": {
+ "get": {
+ "summary": "Get user locale",
+ "operationId": "localeGet",
+ "tags": [
+ "locale"
+ ],
+ "description": "Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))",
+ "responses": {
+ "200": {
+ "description": "Locale",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/locale"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "get",
+ "group": null,
+ "weight": 124,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/get.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale\/codes": {
+ "get": {
+ "summary": "List locale codes",
+ "operationId": "localeListCodes",
+ "tags": [
+ "locale"
+ ],
+ "description": "List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).",
+ "responses": {
+ "200": {
+ "description": "Locale codes list",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/localeCodeList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listCodes",
+ "group": null,
+ "weight": 125,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/list-codes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale\/continents": {
+ "get": {
+ "summary": "List continents",
+ "operationId": "localeListContinents",
+ "tags": [
+ "locale"
+ ],
+ "description": "List of all continents. You can use the locale header to get the data in a supported language.",
+ "responses": {
+ "200": {
+ "description": "Continents List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/continentList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listContinents",
+ "group": null,
+ "weight": 129,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/list-continents.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale\/countries": {
+ "get": {
+ "summary": "List countries",
+ "operationId": "localeListCountries",
+ "tags": [
+ "locale"
+ ],
+ "description": "List of all countries. You can use the locale header to get the data in a supported language.",
+ "responses": {
+ "200": {
+ "description": "Countries List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/countryList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listCountries",
+ "group": null,
+ "weight": 126,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/list-countries.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale\/countries\/eu": {
+ "get": {
+ "summary": "List EU countries",
+ "operationId": "localeListCountriesEU",
+ "tags": [
+ "locale"
+ ],
+ "description": "List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.",
+ "responses": {
+ "200": {
+ "description": "Countries List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/countryList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listCountriesEU",
+ "group": null,
+ "weight": 127,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/list-countries-e-u.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale\/countries\/phones": {
+ "get": {
+ "summary": "List countries phone codes",
+ "operationId": "localeListCountriesPhones",
+ "tags": [
+ "locale"
+ ],
+ "description": "List of all countries phone codes. You can use the locale header to get the data in a supported language.",
+ "responses": {
+ "200": {
+ "description": "Phones List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/phoneList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listCountriesPhones",
+ "group": null,
+ "weight": 128,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/list-countries-phones.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale\/currencies": {
+ "get": {
+ "summary": "List currencies",
+ "operationId": "localeListCurrencies",
+ "tags": [
+ "locale"
+ ],
+ "description": "List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.",
+ "responses": {
+ "200": {
+ "description": "Currencies List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/currencyList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listCurrencies",
+ "group": null,
+ "weight": 130,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/list-currencies.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/locale\/languages": {
+ "get": {
+ "summary": "List languages",
+ "operationId": "localeListLanguages",
+ "tags": [
+ "locale"
+ ],
+ "description": "List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.",
+ "responses": {
+ "200": {
+ "description": "Languages List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/languageList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listLanguages",
+ "group": null,
+ "weight": 131,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "locale\/list-languages.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "locale.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/messaging\/topics\/{topicId}\/subscribers": {
+ "post": {
+ "summary": "Create subscriber",
+ "operationId": "messagingCreateSubscriber",
+ "tags": [
+ "messaging"
+ ],
+ "description": "Create a new subscriber.",
+ "responses": {
+ "201": {
+ "description": "Subscriber",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/subscriber"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createSubscriber",
+ "group": "subscribers",
+ "weight": 354,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "messaging\/create-subscriber.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "subscribers.write",
+ "platforms": [
+ "server",
+ "client",
+ "console",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": [],
+ "Session": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "topicId",
+ "description": "Topic ID. The topic ID to subscribe to.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "subscriberId": {
+ "type": "string",
+ "description": "Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.",
+ "x-example": ""
+ },
+ "targetId": {
+ "type": "string",
+ "description": "Target ID. The target ID to link to the specified Topic ID.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "subscriberId",
+ "targetId"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}": {
+ "delete": {
+ "summary": "Delete subscriber",
+ "operationId": "messagingDeleteSubscriber",
+ "tags": [
+ "messaging"
+ ],
+ "description": "Delete a subscriber by its unique ID.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteSubscriber",
+ "group": "subscribers",
+ "weight": 358,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "messaging\/delete-subscriber.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "subscribers.write",
+ "platforms": [
+ "server",
+ "client",
+ "console",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": [],
+ "Session": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "topicId",
+ "description": "Topic ID. The topic ID subscribed to.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "subscriberId",
+ "description": "Subscriber ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/storage\/buckets\/{bucketId}\/files": {
+ "get": {
+ "summary": "List files",
+ "operationId": "storageListFiles",
+ "tags": [
+ "storage"
+ ],
+ "description": "Get a list of all the user files. You can use the query params to filter your results.",
+ "responses": {
+ "200": {
+ "description": "Files List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/fileList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listFiles",
+ "group": "files",
+ "weight": 214,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "storage\/list-files.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "files.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ },
+ {
+ "name": "search",
+ "description": "Search term to filter your list results. Max length: 256 chars.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create file",
+ "operationId": "storageCreateFile",
+ "tags": [
+ "storage"
+ ],
+ "description": "Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n",
+ "responses": {
+ "201": {
+ "description": "File",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/file"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createFile",
+ "group": "files",
+ "weight": 213,
+ "cookies": false,
+ "type": "upload",
+ "deprecated": false,
+ "demo": "storage\/create-file.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md",
+ "rate-limit": 60,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}",
+ "scope": "files.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "multipart\/form-data": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "fileId": {
+ "type": "string",
+ "description": "File 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.",
+ "x-example": "",
+ "x-upload-id": true
+ },
+ "file": {
+ "type": "string",
+ "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).",
+ "x-example": null
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "fileId",
+ "file"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/storage\/buckets\/{bucketId}\/files\/{fileId}": {
+ "get": {
+ "summary": "Get file",
+ "operationId": "storageGetFile",
+ "tags": [
+ "storage"
+ ],
+ "description": "Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.",
+ "responses": {
+ "200": {
+ "description": "File",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/file"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getFile",
+ "group": "files",
+ "weight": 215,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "storage\/get-file.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "files.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "fileId",
+ "description": "File ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update file",
+ "operationId": "storageUpdateFile",
+ "tags": [
+ "storage"
+ ],
+ "description": "Update a file by its unique ID. Only users with write permissions have access to update this resource.",
+ "responses": {
+ "200": {
+ "description": "File",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/file"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateFile",
+ "group": "files",
+ "weight": 220,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "storage\/update-file.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md",
+ "rate-limit": 60,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "files.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "fileId",
+ "description": "File unique ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the file",
+ "x-example": ""
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete file",
+ "operationId": "storageDeleteFile",
+ "tags": [
+ "storage"
+ ],
+ "description": "Delete a file by its unique ID. Only users with write permissions have access to delete this resource.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteFile",
+ "group": "files",
+ "weight": 221,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "storage\/delete-file.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md",
+ "rate-limit": 60,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "files.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "fileId",
+ "description": "File ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download": {
+ "get": {
+ "summary": "Get file for download",
+ "operationId": "storageGetFileDownload",
+ "tags": [
+ "storage"
+ ],
+ "description": "Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.",
+ "responses": {
+ "200": {
+ "description": "File"
+ }
+ },
+ "x-appwrite": {
+ "method": "getFileDownload",
+ "group": "files",
+ "weight": 217,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "storage\/get-file-download.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "files.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "fileId",
+ "description": "File ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "token",
+ "description": "File token for accessing this file.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview": {
+ "get": {
+ "summary": "Get file preview",
+ "operationId": "storageGetFilePreview",
+ "tags": [
+ "storage"
+ ],
+ "description": "Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getFilePreview",
+ "group": "files",
+ "weight": 216,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "storage\/get-file-preview.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "files.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "fileId",
+ "description": "File ID",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "width",
+ "description": "Resize preview image width, Pass an integer between 0 to 4000.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 0
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Resize preview image height, Pass an integer between 0 to 4000.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 0
+ },
+ "in": "query"
+ },
+ {
+ "name": "gravity",
+ "description": "Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "center",
+ "enum": [
+ "center",
+ "top-left",
+ "top",
+ "top-right",
+ "left",
+ "right",
+ "bottom-left",
+ "bottom",
+ "bottom-right"
+ ],
+ "x-enum-name": "ImageGravity",
+ "x-enum-keys": [],
+ "default": "center"
+ },
+ "in": "query"
+ },
+ {
+ "name": "quality",
+ "description": "Preview image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -1,
+ "default": -1
+ },
+ "in": "query"
+ },
+ {
+ "name": "borderWidth",
+ "description": "Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 0
+ },
+ "in": "query"
+ },
+ {
+ "name": "borderColor",
+ "description": "Preview image border color. Use a valid HEX color, no # is needed for prefix.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "borderRadius",
+ "description": "Preview image border radius in pixels. Pass an integer between 0 to 4000.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 0
+ },
+ "in": "query"
+ },
+ {
+ "name": "opacity",
+ "description": "Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.",
+ "required": false,
+ "schema": {
+ "type": "number",
+ "format": "float",
+ "x-example": 0,
+ "default": 1
+ },
+ "in": "query"
+ },
+ {
+ "name": "rotation",
+ "description": "Preview image rotation in degrees. Pass an integer between -360 and 360.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -360,
+ "default": 0
+ },
+ "in": "query"
+ },
+ {
+ "name": "background",
+ "description": "Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "output",
+ "description": "Output format type (jpeg, jpg, png, gif and webp).",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "jpg",
+ "enum": [
+ "jpg",
+ "jpeg",
+ "png",
+ "webp",
+ "heic",
+ "avif",
+ "gif"
+ ],
+ "x-enum-name": "ImageFormat",
+ "x-enum-keys": [],
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "token",
+ "description": "File token for accessing this file.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view": {
+ "get": {
+ "summary": "Get file for view",
+ "operationId": "storageGetFileView",
+ "tags": [
+ "storage"
+ ],
+ "description": "Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.",
+ "responses": {
+ "200": {
+ "description": "File"
+ }
+ },
+ "x-appwrite": {
+ "method": "getFileView",
+ "group": "files",
+ "weight": 218,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "storage\/get-file-view.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "files.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "bucketId",
+ "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "fileId",
+ "description": "File ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "token",
+ "description": "File token for accessing this file.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/teams": {
+ "get": {
+ "summary": "List teams",
+ "operationId": "teamsList",
+ "tags": [
+ "teams"
+ ],
+ "description": "Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.",
+ "responses": {
+ "200": {
+ "description": "Teams List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/teamList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "list",
+ "group": "teams",
+ "weight": 225,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/list.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ },
+ {
+ "name": "search",
+ "description": "Search term to filter your list results. Max length: 256 chars.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create team",
+ "operationId": "teamsCreate",
+ "tags": [
+ "teams"
+ ],
+ "description": "Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.",
+ "responses": {
+ "201": {
+ "description": "Team",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/team"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "create",
+ "group": "teams",
+ "weight": 224,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/create.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "teamId": {
+ "type": "string",
+ "description": "Team 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.",
+ "x-example": ""
+ },
+ "name": {
+ "type": "string",
+ "description": "Team name. Max length: 128 chars.",
+ "x-example": ""
+ },
+ "roles": {
+ "type": "array",
+ "description": "Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.",
+ "x-example": null,
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "teamId",
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/teams\/{teamId}": {
+ "get": {
+ "summary": "Get team",
+ "operationId": "teamsGet",
+ "tags": [
+ "teams"
+ ],
+ "description": "Get a team by its ID. All team members have read access for this resource.",
+ "responses": {
+ "200": {
+ "description": "Team",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/team"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "get",
+ "group": "teams",
+ "weight": 226,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/get.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update name",
+ "operationId": "teamsUpdateName",
+ "tags": [
+ "teams"
+ ],
+ "description": "Update the team's name by its unique ID.",
+ "responses": {
+ "200": {
+ "description": "Team",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/team"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateName",
+ "group": "teams",
+ "weight": 228,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/update-name.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "New team name. Max length: 128 chars.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete team",
+ "operationId": "teamsDelete",
+ "tags": [
+ "teams"
+ ],
+ "description": "Delete a team using its ID. Only team members with the owner role can delete the team.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "delete",
+ "group": "teams",
+ "weight": 230,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/delete.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/teams\/{teamId}\/memberships": {
+ "get": {
+ "summary": "List team memberships",
+ "operationId": "teamsListMemberships",
+ "tags": [
+ "teams"
+ ],
+ "description": "Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.",
+ "responses": {
+ "200": {
+ "description": "Memberships List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/membershipList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listMemberships",
+ "group": "memberships",
+ "weight": 232,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/list-memberships.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm, roles",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ },
+ {
+ "name": "search",
+ "description": "Search term to filter your list results. Max length: 256 chars.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create team membership",
+ "operationId": "teamsCreateMembership",
+ "tags": [
+ "teams"
+ ],
+ "description": "Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n",
+ "responses": {
+ "201": {
+ "description": "Membership",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/membership"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMembership",
+ "group": "memberships",
+ "weight": 231,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/create-membership.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string",
+ "description": "Email of the new team member.",
+ "x-example": "email@example.com"
+ },
+ "userId": {
+ "type": "string",
+ "description": "ID of the user to be added to a team.",
+ "x-example": ""
+ },
+ "phone": {
+ "type": "string",
+ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
+ "x-example": "+12065550100"
+ },
+ "roles": {
+ "type": "array",
+ "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.",
+ "x-example": null,
+ "items": {
+ "type": "string"
+ }
+ },
+ "url": {
+ "type": "string",
+ "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
+ "x-example": "https:\/\/example.com"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the new team member. Max length: 128 chars.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "roles"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/teams\/{teamId}\/memberships\/{membershipId}": {
+ "get": {
+ "summary": "Get team membership",
+ "operationId": "teamsGetMembership",
+ "tags": [
+ "teams"
+ ],
+ "description": "Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.",
+ "responses": {
+ "200": {
+ "description": "Membership",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/membership"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getMembership",
+ "group": "memberships",
+ "weight": 233,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/get-membership.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "membershipId",
+ "description": "Membership ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "patch": {
+ "summary": "Update membership",
+ "operationId": "teamsUpdateMembership",
+ "tags": [
+ "teams"
+ ],
+ "description": "Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n",
+ "responses": {
+ "200": {
+ "description": "Membership",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/membership"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMembership",
+ "group": "memberships",
+ "weight": 234,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/update-membership.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "membershipId",
+ "description": "Membership ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "roles": {
+ "type": "array",
+ "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.",
+ "x-example": null,
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "roles"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete team membership",
+ "operationId": "teamsDeleteMembership",
+ "tags": [
+ "teams"
+ ],
+ "description": "This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteMembership",
+ "group": "memberships",
+ "weight": 236,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/delete-membership.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "membershipId",
+ "description": "Membership ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/teams\/{teamId}\/memberships\/{membershipId}\/status": {
+ "patch": {
+ "summary": "Update team membership status",
+ "operationId": "teamsUpdateMembershipStatus",
+ "tags": [
+ "teams"
+ ],
+ "description": "Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n",
+ "responses": {
+ "200": {
+ "description": "Membership",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/membership"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMembershipStatus",
+ "group": "memberships",
+ "weight": 235,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/update-membership-status.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "public",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "membershipId",
+ "description": "Membership ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Secret key.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/teams\/{teamId}\/prefs": {
+ "get": {
+ "summary": "Get team preferences",
+ "operationId": "teamsGetPrefs",
+ "tags": [
+ "teams"
+ ],
+ "description": "Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).",
+ "responses": {
+ "200": {
+ "description": "Preferences",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/preferences"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getPrefs",
+ "group": "teams",
+ "weight": 227,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/get-prefs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.read",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update preferences",
+ "operationId": "teamsUpdatePrefs",
+ "tags": [
+ "teams"
+ ],
+ "description": "Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.",
+ "responses": {
+ "200": {
+ "description": "Preferences",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/preferences"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePrefs",
+ "group": "teams",
+ "weight": 229,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "teams\/update-prefs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "teams.write",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "teamId",
+ "description": "Team ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "prefs": {
+ "type": "object",
+ "description": "Prefs key-value JSON object.",
+ "x-example": "{}"
+ }
+ },
+ "required": [
+ "prefs"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "account",
+ "description": "The Account service allows you to authenticate and manage a user account."
+ },
+ {
+ "name": "avatars",
+ "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars."
+ },
+ {
+ "name": "databases",
+ "description": "The Databases service allows you to create structured collections of documents, query and filter lists of documents"
+ },
+ {
+ "name": "locale",
+ "description": "The Locale service allows you to customize your app based on your users' location."
+ },
+ {
+ "name": "health",
+ "description": "The Health service allows you to both validate and monitor your Appwrite server's health."
+ },
+ {
+ "name": "projects",
+ "description": "The Project service allows you to manage all the projects in your Appwrite server."
+ },
+ {
+ "name": "project",
+ "description": "The Project service allows you to manage all the projects in your Appwrite server."
+ },
+ {
+ "name": "storage",
+ "description": "The Storage service allows you to manage your project files."
+ },
+ {
+ "name": "teams",
+ "description": "The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources"
+ },
+ {
+ "name": "users",
+ "description": "The Users service allows you to manage your project users."
+ },
+ {
+ "name": "sites",
+ "description": "The Sites Service allows you view, create and manage your web applications."
+ },
+ {
+ "name": "functions",
+ "description": "The Functions Service allows you view, create and manage your Cloud Functions."
+ },
+ {
+ "name": "proxy",
+ "description": "The Proxy Service allows you to configure actions for your domains beyond DNS configuration."
+ },
+ {
+ "name": "graphql",
+ "description": "The GraphQL API allows you to query and mutate your Appwrite server using GraphQL."
+ },
+ {
+ "name": "console",
+ "description": "The Console service allows you to interact with console relevant informations."
+ },
+ {
+ "name": "migrations",
+ "description": "The Migrations service allows you to migrate third-party data to your Appwrite project."
+ },
+ {
+ "name": "messaging",
+ "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.)."
+ }
+ ],
+ "components": {
+ "schemas": {
+ "any": {
+ "description": "Any",
+ "type": "object",
+ "additionalProperties": true
+ },
+ "error": {
+ "description": "Error",
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "description": "Error message.",
+ "x-example": "Not found"
+ },
+ "code": {
+ "type": "string",
+ "description": "Error code.",
+ "x-example": "404"
+ },
+ "type": {
+ "type": "string",
+ "description": "Error type. You can learn more about all the error types at https:\/\/appwrite.io\/docs\/error-codes#errorTypes",
+ "x-example": "not_found"
+ },
+ "version": {
+ "type": "string",
+ "description": "Server version number.",
+ "x-example": "1.0"
+ }
+ },
+ "required": [
+ "message",
+ "code",
+ "type",
+ "version"
+ ]
+ },
+ "documentList": {
+ "description": "Documents List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of documents documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "documents": {
+ "type": "array",
+ "description": "List of documents.",
+ "items": {
+ "$ref": "#\/components\/schemas\/document"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "documents"
+ ]
+ },
+ "sessionList": {
+ "description": "Sessions List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of sessions documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "sessions": {
+ "type": "array",
+ "description": "List of sessions.",
+ "items": {
+ "$ref": "#\/components\/schemas\/session"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "sessions"
+ ]
+ },
+ "identityList": {
+ "description": "Identities List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of identities documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "identities": {
+ "type": "array",
+ "description": "List of identities.",
+ "items": {
+ "$ref": "#\/components\/schemas\/identity"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "identities"
+ ]
+ },
+ "logList": {
+ "description": "Logs List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of logs documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "logs": {
+ "type": "array",
+ "description": "List of logs.",
+ "items": {
+ "$ref": "#\/components\/schemas\/log"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "logs"
+ ]
+ },
+ "fileList": {
+ "description": "Files List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of files documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "files": {
+ "type": "array",
+ "description": "List of files.",
+ "items": {
+ "$ref": "#\/components\/schemas\/file"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "files"
+ ]
+ },
+ "teamList": {
+ "description": "Teams List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of teams documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "teams": {
+ "type": "array",
+ "description": "List of teams.",
+ "items": {
+ "$ref": "#\/components\/schemas\/team"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "teams"
+ ]
+ },
+ "membershipList": {
+ "description": "Memberships List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of memberships documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "memberships": {
+ "type": "array",
+ "description": "List of memberships.",
+ "items": {
+ "$ref": "#\/components\/schemas\/membership"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "memberships"
+ ]
+ },
+ "executionList": {
+ "description": "Executions List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of executions documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "executions": {
+ "type": "array",
+ "description": "List of executions.",
+ "items": {
+ "$ref": "#\/components\/schemas\/execution"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "executions"
+ ]
+ },
+ "countryList": {
+ "description": "Countries List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of countries documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "countries": {
+ "type": "array",
+ "description": "List of countries.",
+ "items": {
+ "$ref": "#\/components\/schemas\/country"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "countries"
+ ]
+ },
+ "continentList": {
+ "description": "Continents List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of continents documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "continents": {
+ "type": "array",
+ "description": "List of continents.",
+ "items": {
+ "$ref": "#\/components\/schemas\/continent"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "continents"
+ ]
+ },
+ "languageList": {
+ "description": "Languages List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of languages documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "languages": {
+ "type": "array",
+ "description": "List of languages.",
+ "items": {
+ "$ref": "#\/components\/schemas\/language"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "languages"
+ ]
+ },
+ "currencyList": {
+ "description": "Currencies List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of currencies documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "currencies": {
+ "type": "array",
+ "description": "List of currencies.",
+ "items": {
+ "$ref": "#\/components\/schemas\/currency"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "currencies"
+ ]
+ },
+ "phoneList": {
+ "description": "Phones List",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of phones documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "phones": {
+ "type": "array",
+ "description": "List of phones.",
+ "items": {
+ "$ref": "#\/components\/schemas\/phone"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "phones"
+ ]
+ },
+ "localeCodeList": {
+ "description": "Locale codes list",
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "integer",
+ "description": "Total number of localeCodes documents that matched your query.",
+ "x-example": 5,
+ "format": "int32"
+ },
+ "localeCodes": {
+ "type": "array",
+ "description": "List of localeCodes.",
+ "items": {
+ "$ref": "#\/components\/schemas\/localeCode"
+ },
+ "x-example": ""
+ }
+ },
+ "required": [
+ "total",
+ "localeCodes"
+ ]
+ },
+ "document": {
+ "description": "Document",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Document ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
+ "$collectionId": {
+ "type": "string",
+ "description": "Collection ID.",
+ "x-example": "5e5ea5c15117e"
+ },
+ "$databaseId": {
+ "type": "string",
+ "description": "Database ID.",
+ "x-example": "5e5ea5c15117e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Document creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Document update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$permissions": {
+ "type": "array",
+ "description": "Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "items": {
+ "type": "string"
+ },
+ "x-example": [
+ "read(\"any\")"
+ ]
+ }
+ },
+ "additionalProperties": true,
+ "required": [
+ "$id",
+ "$sequence",
+ "$collectionId",
+ "$databaseId",
+ "$createdAt",
+ "$updatedAt",
+ "$permissions"
+ ]
+ },
+ "log": {
+ "description": "Log",
+ "type": "object",
+ "properties": {
+ "event": {
+ "type": "string",
+ "description": "Event name.",
+ "x-example": "account.sessions.create"
+ },
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "610fc2f985ee0"
+ },
+ "userEmail": {
+ "type": "string",
+ "description": "User Email.",
+ "x-example": "john@appwrite.io"
+ },
+ "userName": {
+ "type": "string",
+ "description": "User Name.",
+ "x-example": "John Doe"
+ },
+ "mode": {
+ "type": "string",
+ "description": "API mode when event triggered.",
+ "x-example": "admin"
+ },
+ "ip": {
+ "type": "string",
+ "description": "IP session in use when the session was created.",
+ "x-example": "127.0.0.1"
+ },
+ "time": {
+ "type": "string",
+ "description": "Log creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "osCode": {
+ "type": "string",
+ "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).",
+ "x-example": "Mac"
+ },
+ "osName": {
+ "type": "string",
+ "description": "Operating system name.",
+ "x-example": "Mac"
+ },
+ "osVersion": {
+ "type": "string",
+ "description": "Operating system version.",
+ "x-example": "Mac"
+ },
+ "clientType": {
+ "type": "string",
+ "description": "Client type.",
+ "x-example": "browser"
+ },
+ "clientCode": {
+ "type": "string",
+ "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).",
+ "x-example": "CM"
+ },
+ "clientName": {
+ "type": "string",
+ "description": "Client name.",
+ "x-example": "Chrome Mobile iOS"
+ },
+ "clientVersion": {
+ "type": "string",
+ "description": "Client version.",
+ "x-example": "84.0"
+ },
+ "clientEngine": {
+ "type": "string",
+ "description": "Client engine name.",
+ "x-example": "WebKit"
+ },
+ "clientEngineVersion": {
+ "type": "string",
+ "description": "Client engine name.",
+ "x-example": "605.1.15"
+ },
+ "deviceName": {
+ "type": "string",
+ "description": "Device name.",
+ "x-example": "smartphone"
+ },
+ "deviceBrand": {
+ "type": "string",
+ "description": "Device brand name.",
+ "x-example": "Google"
+ },
+ "deviceModel": {
+ "type": "string",
+ "description": "Device model name.",
+ "x-example": "Nexus 5"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "Country two-character ISO 3166-1 alpha code.",
+ "x-example": "US"
+ },
+ "countryName": {
+ "type": "string",
+ "description": "Country name.",
+ "x-example": "United States"
+ }
+ },
+ "required": [
+ "event",
+ "userId",
+ "userEmail",
+ "userName",
+ "mode",
+ "ip",
+ "time",
+ "osCode",
+ "osName",
+ "osVersion",
+ "clientType",
+ "clientCode",
+ "clientName",
+ "clientVersion",
+ "clientEngine",
+ "clientEngineVersion",
+ "deviceName",
+ "deviceBrand",
+ "deviceModel",
+ "countryCode",
+ "countryName"
+ ]
+ },
+ "user": {
+ "description": "User",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "User creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "User update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "name": {
+ "type": "string",
+ "description": "User name.",
+ "x-example": "John Doe"
+ },
+ "password": {
+ "type": "string",
+ "description": "Hashed user password.",
+ "x-example": "$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE",
+ "nullable": true
+ },
+ "hash": {
+ "type": "string",
+ "description": "Password hashing algorithm.",
+ "x-example": "argon2",
+ "nullable": true
+ },
+ "hashOptions": {
+ "type": "object",
+ "description": "Password hashing algorithm configuration.",
+ "x-example": {},
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#\/components\/schemas\/algoArgon2"
+ },
+ {
+ "$ref": "#\/components\/schemas\/algoScrypt"
+ },
+ {
+ "$ref": "#\/components\/schemas\/algoScryptModified"
+ },
+ {
+ "$ref": "#\/components\/schemas\/algoBcrypt"
+ },
+ {
+ "$ref": "#\/components\/schemas\/algoPhpass"
+ },
+ {
+ "$ref": "#\/components\/schemas\/algoSha"
+ },
+ {
+ "$ref": "#\/components\/schemas\/algoMd5"
+ }
+ ]
+ },
+ "nullable": true
+ },
+ "registration": {
+ "type": "string",
+ "description": "User registration date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "status": {
+ "type": "boolean",
+ "description": "User status. Pass `true` for enabled and `false` for disabled.",
+ "x-example": true
+ },
+ "labels": {
+ "type": "array",
+ "description": "Labels for the user.",
+ "items": {
+ "type": "string"
+ },
+ "x-example": [
+ "vip"
+ ]
+ },
+ "passwordUpdate": {
+ "type": "string",
+ "description": "Password update time in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "email": {
+ "type": "string",
+ "description": "User email address.",
+ "x-example": "john@appwrite.io"
+ },
+ "phone": {
+ "type": "string",
+ "description": "User phone number in E.164 format.",
+ "x-example": "+4930901820"
+ },
+ "emailVerification": {
+ "type": "boolean",
+ "description": "Email verification status.",
+ "x-example": true
+ },
+ "phoneVerification": {
+ "type": "boolean",
+ "description": "Phone verification status.",
+ "x-example": true
+ },
+ "mfa": {
+ "type": "boolean",
+ "description": "Multi factor authentication status.",
+ "x-example": true
+ },
+ "prefs": {
+ "type": "object",
+ "description": "User preferences as a key-value object",
+ "x-example": {
+ "theme": "pink",
+ "timezone": "UTC"
+ },
+ "items": {
+ "$ref": "#\/components\/schemas\/preferences"
+ }
+ },
+ "targets": {
+ "type": "array",
+ "description": "A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.",
+ "items": {
+ "$ref": "#\/components\/schemas\/target"
+ },
+ "x-example": []
+ },
+ "accessedAt": {
+ "type": "string",
+ "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "name",
+ "registration",
+ "status",
+ "labels",
+ "passwordUpdate",
+ "email",
+ "phone",
+ "emailVerification",
+ "phoneVerification",
+ "mfa",
+ "prefs",
+ "targets",
+ "accessedAt"
+ ]
+ },
+ "algoMd5": {
+ "description": "AlgoMD5",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Algo type.",
+ "x-example": "md5"
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "algoSha": {
+ "description": "AlgoSHA",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Algo type.",
+ "x-example": "sha"
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "algoPhpass": {
+ "description": "AlgoPHPass",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Algo type.",
+ "x-example": "phpass"
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "algoBcrypt": {
+ "description": "AlgoBcrypt",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Algo type.",
+ "x-example": "bcrypt"
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "algoScrypt": {
+ "description": "AlgoScrypt",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Algo type.",
+ "x-example": "scrypt"
+ },
+ "costCpu": {
+ "type": "integer",
+ "description": "CPU complexity of computed hash.",
+ "x-example": 8,
+ "format": "int32"
+ },
+ "costMemory": {
+ "type": "integer",
+ "description": "Memory complexity of computed hash.",
+ "x-example": 14,
+ "format": "int32"
+ },
+ "costParallel": {
+ "type": "integer",
+ "description": "Parallelization of computed hash.",
+ "x-example": 1,
+ "format": "int32"
+ },
+ "length": {
+ "type": "integer",
+ "description": "Length used to compute hash.",
+ "x-example": 64,
+ "format": "int32"
+ }
+ },
+ "required": [
+ "type",
+ "costCpu",
+ "costMemory",
+ "costParallel",
+ "length"
+ ]
+ },
+ "algoScryptModified": {
+ "description": "AlgoScryptModified",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Algo type.",
+ "x-example": "scryptMod"
+ },
+ "salt": {
+ "type": "string",
+ "description": "Salt used to compute hash.",
+ "x-example": "UxLMreBr6tYyjQ=="
+ },
+ "saltSeparator": {
+ "type": "string",
+ "description": "Separator used to compute hash.",
+ "x-example": "Bw=="
+ },
+ "signerKey": {
+ "type": "string",
+ "description": "Key used to compute hash.",
+ "x-example": "XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ=="
+ }
+ },
+ "required": [
+ "type",
+ "salt",
+ "saltSeparator",
+ "signerKey"
+ ]
+ },
+ "algoArgon2": {
+ "description": "AlgoArgon2",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Algo type.",
+ "x-example": "argon2"
+ },
+ "memoryCost": {
+ "type": "integer",
+ "description": "Memory used to compute hash.",
+ "x-example": 65536,
+ "format": "int32"
+ },
+ "timeCost": {
+ "type": "integer",
+ "description": "Amount of time consumed to compute hash",
+ "x-example": 4,
+ "format": "int32"
+ },
+ "threads": {
+ "type": "integer",
+ "description": "Number of threads used to compute hash.",
+ "x-example": 3,
+ "format": "int32"
+ }
+ },
+ "required": [
+ "type",
+ "memoryCost",
+ "timeCost",
+ "threads"
+ ]
+ },
+ "preferences": {
+ "description": "Preferences",
+ "type": "object",
+ "additionalProperties": true
+ },
+ "session": {
+ "description": "Session",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Session ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Session creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Session update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "5e5bb8c16897e"
+ },
+ "expire": {
+ "type": "string",
+ "description": "Session expiration date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "provider": {
+ "type": "string",
+ "description": "Session Provider.",
+ "x-example": "email"
+ },
+ "providerUid": {
+ "type": "string",
+ "description": "Session Provider User ID.",
+ "x-example": "user@example.com"
+ },
+ "providerAccessToken": {
+ "type": "string",
+ "description": "Session Provider Access Token.",
+ "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"
+ },
+ "providerAccessTokenExpiry": {
+ "type": "string",
+ "description": "The date of when the access token expires in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "providerRefreshToken": {
+ "type": "string",
+ "description": "Session Provider Refresh Token.",
+ "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"
+ },
+ "ip": {
+ "type": "string",
+ "description": "IP in use when the session was created.",
+ "x-example": "127.0.0.1"
+ },
+ "osCode": {
+ "type": "string",
+ "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).",
+ "x-example": "Mac"
+ },
+ "osName": {
+ "type": "string",
+ "description": "Operating system name.",
+ "x-example": "Mac"
+ },
+ "osVersion": {
+ "type": "string",
+ "description": "Operating system version.",
+ "x-example": "Mac"
+ },
+ "clientType": {
+ "type": "string",
+ "description": "Client type.",
+ "x-example": "browser"
+ },
+ "clientCode": {
+ "type": "string",
+ "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).",
+ "x-example": "CM"
+ },
+ "clientName": {
+ "type": "string",
+ "description": "Client name.",
+ "x-example": "Chrome Mobile iOS"
+ },
+ "clientVersion": {
+ "type": "string",
+ "description": "Client version.",
+ "x-example": "84.0"
+ },
+ "clientEngine": {
+ "type": "string",
+ "description": "Client engine name.",
+ "x-example": "WebKit"
+ },
+ "clientEngineVersion": {
+ "type": "string",
+ "description": "Client engine name.",
+ "x-example": "605.1.15"
+ },
+ "deviceName": {
+ "type": "string",
+ "description": "Device name.",
+ "x-example": "smartphone"
+ },
+ "deviceBrand": {
+ "type": "string",
+ "description": "Device brand name.",
+ "x-example": "Google"
+ },
+ "deviceModel": {
+ "type": "string",
+ "description": "Device model name.",
+ "x-example": "Nexus 5"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "Country two-character ISO 3166-1 alpha code.",
+ "x-example": "US"
+ },
+ "countryName": {
+ "type": "string",
+ "description": "Country name.",
+ "x-example": "United States"
+ },
+ "current": {
+ "type": "boolean",
+ "description": "Returns true if this the current user session.",
+ "x-example": true
+ },
+ "factors": {
+ "type": "array",
+ "description": "Returns a list of active session factors.",
+ "items": {
+ "type": "string"
+ },
+ "x-example": [
+ "email"
+ ]
+ },
+ "secret": {
+ "type": "string",
+ "description": "Secret used to authenticate the user. Only included if the request was made with an API key",
+ "x-example": "5e5bb8c16897e"
+ },
+ "mfaUpdatedAt": {
+ "type": "string",
+ "description": "Most recent date in ISO 8601 format when the session successfully passed MFA challenge.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "userId",
+ "expire",
+ "provider",
+ "providerUid",
+ "providerAccessToken",
+ "providerAccessTokenExpiry",
+ "providerRefreshToken",
+ "ip",
+ "osCode",
+ "osName",
+ "osVersion",
+ "clientType",
+ "clientCode",
+ "clientName",
+ "clientVersion",
+ "clientEngine",
+ "clientEngineVersion",
+ "deviceName",
+ "deviceBrand",
+ "deviceModel",
+ "countryCode",
+ "countryName",
+ "current",
+ "factors",
+ "secret",
+ "mfaUpdatedAt"
+ ]
+ },
+ "identity": {
+ "description": "Identity",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Identity ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Identity creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Identity update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "5e5bb8c16897e"
+ },
+ "provider": {
+ "type": "string",
+ "description": "Identity Provider.",
+ "x-example": "email"
+ },
+ "providerUid": {
+ "type": "string",
+ "description": "ID of the User in the Identity Provider.",
+ "x-example": "5e5bb8c16897e"
+ },
+ "providerEmail": {
+ "type": "string",
+ "description": "Email of the User in the Identity Provider.",
+ "x-example": "user@example.com"
+ },
+ "providerAccessToken": {
+ "type": "string",
+ "description": "Identity Provider Access Token.",
+ "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"
+ },
+ "providerAccessTokenExpiry": {
+ "type": "string",
+ "description": "The date of when the access token expires in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "providerRefreshToken": {
+ "type": "string",
+ "description": "Identity Provider Refresh Token.",
+ "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "userId",
+ "provider",
+ "providerUid",
+ "providerEmail",
+ "providerAccessToken",
+ "providerAccessTokenExpiry",
+ "providerRefreshToken"
+ ]
+ },
+ "token": {
+ "description": "Token",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Token ID.",
+ "x-example": "bb8ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Token creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "5e5ea5c168bb8"
+ },
+ "secret": {
+ "type": "string",
+ "description": "Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.",
+ "x-example": ""
+ },
+ "expire": {
+ "type": "string",
+ "description": "Token expiration date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "phrase": {
+ "type": "string",
+ "description": "Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.",
+ "x-example": "Golden Fox"
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "userId",
+ "secret",
+ "expire",
+ "phrase"
+ ]
+ },
+ "jwt": {
+ "description": "JWT",
+ "type": "object",
+ "properties": {
+ "jwt": {
+ "type": "string",
+ "description": "JWT encoded string.",
+ "x-example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
+ }
+ },
+ "required": [
+ "jwt"
+ ]
+ },
+ "locale": {
+ "description": "Locale",
+ "type": "object",
+ "properties": {
+ "ip": {
+ "type": "string",
+ "description": "User IP address.",
+ "x-example": "127.0.0.1"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format",
+ "x-example": "US"
+ },
+ "country": {
+ "type": "string",
+ "description": "Country name. This field support localization.",
+ "x-example": "United States"
+ },
+ "continentCode": {
+ "type": "string",
+ "description": "Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.",
+ "x-example": "NA"
+ },
+ "continent": {
+ "type": "string",
+ "description": "Continent name. This field support localization.",
+ "x-example": "North America"
+ },
+ "eu": {
+ "type": "boolean",
+ "description": "True if country is part of the European Union.",
+ "x-example": false
+ },
+ "currency": {
+ "type": "string",
+ "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format",
+ "x-example": "USD"
+ }
+ },
+ "required": [
+ "ip",
+ "countryCode",
+ "country",
+ "continentCode",
+ "continent",
+ "eu",
+ "currency"
+ ]
+ },
+ "localeCode": {
+ "description": "LocaleCode",
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)",
+ "x-example": "en-us"
+ },
+ "name": {
+ "type": "string",
+ "description": "Locale name",
+ "x-example": "US"
+ }
+ },
+ "required": [
+ "code",
+ "name"
+ ]
+ },
+ "file": {
+ "description": "File",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "File ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "bucketId": {
+ "type": "string",
+ "description": "Bucket ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "File creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "File update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$permissions": {
+ "type": "array",
+ "description": "File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "items": {
+ "type": "string"
+ },
+ "x-example": [
+ "read(\"any\")"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "File name.",
+ "x-example": "Pink.png"
+ },
+ "signature": {
+ "type": "string",
+ "description": "File MD5 signature.",
+ "x-example": "5d529fd02b544198ae075bd57c1762bb"
+ },
+ "mimeType": {
+ "type": "string",
+ "description": "File mime type.",
+ "x-example": "image\/png"
+ },
+ "sizeOriginal": {
+ "type": "integer",
+ "description": "File original size in bytes.",
+ "x-example": 17890,
+ "format": "int32"
+ },
+ "chunksTotal": {
+ "type": "integer",
+ "description": "Total number of chunks available",
+ "x-example": 17890,
+ "format": "int32"
+ },
+ "chunksUploaded": {
+ "type": "integer",
+ "description": "Total number of chunks uploaded",
+ "x-example": 17890,
+ "format": "int32"
+ }
+ },
+ "required": [
+ "$id",
+ "bucketId",
+ "$createdAt",
+ "$updatedAt",
+ "$permissions",
+ "name",
+ "signature",
+ "mimeType",
+ "sizeOriginal",
+ "chunksTotal",
+ "chunksUploaded"
+ ]
+ },
+ "team": {
+ "description": "Team",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Team ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Team creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Team update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "name": {
+ "type": "string",
+ "description": "Team name.",
+ "x-example": "VIP"
+ },
+ "total": {
+ "type": "integer",
+ "description": "Total number of team members.",
+ "x-example": 7,
+ "format": "int32"
+ },
+ "prefs": {
+ "type": "object",
+ "description": "Team preferences as a key-value object",
+ "x-example": {
+ "theme": "pink",
+ "timezone": "UTC"
+ },
+ "items": {
+ "$ref": "#\/components\/schemas\/preferences"
+ }
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "name",
+ "total",
+ "prefs"
+ ]
+ },
+ "membership": {
+ "description": "Membership",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Membership ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Membership creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Membership update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name. Hide this attribute by toggling membership privacy in the Console.",
+ "x-example": "John Doe"
+ },
+ "userEmail": {
+ "type": "string",
+ "description": "User email address. Hide this attribute by toggling membership privacy in the Console.",
+ "x-example": "john@appwrite.io"
+ },
+ "teamId": {
+ "type": "string",
+ "description": "Team ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "teamName": {
+ "type": "string",
+ "description": "Team name.",
+ "x-example": "VIP"
+ },
+ "invited": {
+ "type": "string",
+ "description": "Date, the user has been invited to join the team in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "joined": {
+ "type": "string",
+ "description": "Date, the user has accepted the invitation to join the team in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "confirm": {
+ "type": "boolean",
+ "description": "User confirmation status, true if the user has joined the team or false otherwise.",
+ "x-example": false
+ },
+ "mfa": {
+ "type": "boolean",
+ "description": "Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.",
+ "x-example": false
+ },
+ "roles": {
+ "type": "array",
+ "description": "User list of roles",
+ "items": {
+ "type": "string"
+ },
+ "x-example": [
+ "owner"
+ ]
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "userId",
+ "userName",
+ "userEmail",
+ "teamId",
+ "teamName",
+ "invited",
+ "joined",
+ "confirm",
+ "mfa",
+ "roles"
+ ]
+ },
+ "execution": {
+ "description": "Execution",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Execution ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Execution creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Execution upate date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$permissions": {
+ "type": "array",
+ "description": "Execution roles.",
+ "items": {
+ "type": "string"
+ },
+ "x-example": [
+ "any"
+ ]
+ },
+ "functionId": {
+ "type": "string",
+ "description": "Function ID.",
+ "x-example": "5e5ea6g16897e"
+ },
+ "trigger": {
+ "type": "string",
+ "description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
+ "x-example": "http"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
+ "x-example": "processing"
+ },
+ "requestMethod": {
+ "type": "string",
+ "description": "HTTP request method type.",
+ "x-example": "GET"
+ },
+ "requestPath": {
+ "type": "string",
+ "description": "HTTP request path and query.",
+ "x-example": "\/articles?id=5"
+ },
+ "requestHeaders": {
+ "type": "array",
+ "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
+ "items": {
+ "$ref": "#\/components\/schemas\/headers"
+ },
+ "x-example": [
+ {
+ "Content-Type": "application\/json"
+ }
+ ]
+ },
+ "responseStatusCode": {
+ "type": "integer",
+ "description": "HTTP response status code.",
+ "x-example": 200,
+ "format": "int32"
+ },
+ "responseBody": {
+ "type": "string",
+ "description": "HTTP response body. This will return empty unless execution is created as synchronous.",
+ "x-example": ""
+ },
+ "responseHeaders": {
+ "type": "array",
+ "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
+ "items": {
+ "$ref": "#\/components\/schemas\/headers"
+ },
+ "x-example": [
+ {
+ "Content-Type": "application\/json"
+ }
+ ]
+ },
+ "logs": {
+ "type": "string",
+ "description": "Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.",
+ "x-example": ""
+ },
+ "errors": {
+ "type": "string",
+ "description": "Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.",
+ "x-example": ""
+ },
+ "duration": {
+ "type": "number",
+ "description": "Resource(function\/site) execution duration in seconds.",
+ "x-example": 0.4,
+ "format": "double"
+ },
+ "scheduledAt": {
+ "type": "string",
+ "description": "The scheduled time for execution. If left empty, execution will be queued immediately.",
+ "x-example": "2020-10-15T06:38:00.000+00:00",
+ "nullable": true
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "$permissions",
+ "functionId",
+ "trigger",
+ "status",
+ "requestMethod",
+ "requestPath",
+ "requestHeaders",
+ "responseStatusCode",
+ "responseBody",
+ "responseHeaders",
+ "logs",
+ "errors",
+ "duration"
+ ]
+ },
+ "country": {
+ "description": "Country",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Country name.",
+ "x-example": "United States"
+ },
+ "code": {
+ "type": "string",
+ "description": "Country two-character ISO 3166-1 alpha code.",
+ "x-example": "US"
+ }
+ },
+ "required": [
+ "name",
+ "code"
+ ]
+ },
+ "continent": {
+ "description": "Continent",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Continent name.",
+ "x-example": "Europe"
+ },
+ "code": {
+ "type": "string",
+ "description": "Continent two letter code.",
+ "x-example": "EU"
+ }
+ },
+ "required": [
+ "name",
+ "code"
+ ]
+ },
+ "language": {
+ "description": "Language",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Language name.",
+ "x-example": "Italian"
+ },
+ "code": {
+ "type": "string",
+ "description": "Language two-character ISO 639-1 codes.",
+ "x-example": "it"
+ },
+ "nativeName": {
+ "type": "string",
+ "description": "Language native name.",
+ "x-example": "Italiano"
+ }
+ },
+ "required": [
+ "name",
+ "code",
+ "nativeName"
+ ]
+ },
+ "currency": {
+ "description": "Currency",
+ "type": "object",
+ "properties": {
+ "symbol": {
+ "type": "string",
+ "description": "Currency symbol.",
+ "x-example": "$"
+ },
+ "name": {
+ "type": "string",
+ "description": "Currency name.",
+ "x-example": "US dollar"
+ },
+ "symbolNative": {
+ "type": "string",
+ "description": "Currency native symbol.",
+ "x-example": "$"
+ },
+ "decimalDigits": {
+ "type": "integer",
+ "description": "Number of decimal digits.",
+ "x-example": 2,
+ "format": "int32"
+ },
+ "rounding": {
+ "type": "number",
+ "description": "Currency digit rounding.",
+ "x-example": 0,
+ "format": "double"
+ },
+ "code": {
+ "type": "string",
+ "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.",
+ "x-example": "USD"
+ },
+ "namePlural": {
+ "type": "string",
+ "description": "Currency plural name",
+ "x-example": "US dollars"
+ }
+ },
+ "required": [
+ "symbol",
+ "name",
+ "symbolNative",
+ "decimalDigits",
+ "rounding",
+ "code",
+ "namePlural"
+ ]
+ },
+ "phone": {
+ "description": "Phone",
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Phone code.",
+ "x-example": "+1"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "Country two-character ISO 3166-1 alpha code.",
+ "x-example": "US"
+ },
+ "countryName": {
+ "type": "string",
+ "description": "Country name.",
+ "x-example": "United States"
+ }
+ },
+ "required": [
+ "code",
+ "countryCode",
+ "countryName"
+ ]
+ },
+ "headers": {
+ "description": "Headers",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Header name.",
+ "x-example": "Content-Type"
+ },
+ "value": {
+ "type": "string",
+ "description": "Header value.",
+ "x-example": "application\/json"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ]
+ },
+ "mfaChallenge": {
+ "description": "MFA Challenge",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Token ID.",
+ "x-example": "bb8ea5c16897e"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Token creation date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "5e5ea5c168bb8"
+ },
+ "expire": {
+ "type": "string",
+ "description": "Token expiration date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "userId",
+ "expire"
+ ]
+ },
+ "mfaRecoveryCodes": {
+ "description": "MFA Recovery Codes",
+ "type": "object",
+ "properties": {
+ "recoveryCodes": {
+ "type": "array",
+ "description": "Recovery codes.",
+ "items": {
+ "type": "string"
+ },
+ "x-example": [
+ "a3kf0-s0cl2",
+ "s0co1-as98s"
+ ]
+ }
+ },
+ "required": [
+ "recoveryCodes"
+ ]
+ },
+ "mfaType": {
+ "description": "MFAType",
+ "type": "object",
+ "properties": {
+ "secret": {
+ "type": "string",
+ "description": "Secret token used for TOTP factor.",
+ "x-example": true
+ },
+ "uri": {
+ "type": "string",
+ "description": "URI for authenticator apps.",
+ "x-example": true
+ }
+ },
+ "required": [
+ "secret",
+ "uri"
+ ]
+ },
+ "mfaFactors": {
+ "description": "MFAFactors",
+ "type": "object",
+ "properties": {
+ "totp": {
+ "type": "boolean",
+ "description": "Can TOTP be used for MFA challenge for this account.",
+ "x-example": true
+ },
+ "phone": {
+ "type": "boolean",
+ "description": "Can phone (SMS) be used for MFA challenge for this account.",
+ "x-example": true
+ },
+ "email": {
+ "type": "boolean",
+ "description": "Can email be used for MFA challenge for this account.",
+ "x-example": true
+ },
+ "recoveryCode": {
+ "type": "boolean",
+ "description": "Can recovery code be used for MFA challenge for this account.",
+ "x-example": true
+ }
+ },
+ "required": [
+ "totp",
+ "phone",
+ "email",
+ "recoveryCode"
+ ]
+ },
+ "subscriber": {
+ "description": "Subscriber",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Subscriber ID.",
+ "x-example": "259125845563242502"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Subscriber creation time in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Subscriber update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "targetId": {
+ "type": "string",
+ "description": "Target ID.",
+ "x-example": "259125845563242502"
+ },
+ "target": {
+ "type": "object",
+ "description": "Target.",
+ "x-example": {
+ "$id": "259125845563242502",
+ "$createdAt": "2020-10-15T06:38:00.000+00:00",
+ "$updatedAt": "2020-10-15T06:38:00.000+00:00",
+ "providerType": "email",
+ "providerId": "259125845563242502",
+ "name": "ageon-app-email",
+ "identifier": "random-mail@email.org",
+ "userId": "5e5ea5c16897e"
+ },
+ "items": {
+ "$ref": "#\/components\/schemas\/target"
+ }
+ },
+ "userId": {
+ "type": "string",
+ "description": "Topic ID.",
+ "x-example": "5e5ea5c16897e"
+ },
+ "userName": {
+ "type": "string",
+ "description": "User Name.",
+ "x-example": "Aegon Targaryen"
+ },
+ "topicId": {
+ "type": "string",
+ "description": "Topic ID.",
+ "x-example": "259125845563242502"
+ },
+ "providerType": {
+ "type": "string",
+ "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.",
+ "x-example": "email"
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "targetId",
+ "target",
+ "userId",
+ "userName",
+ "topicId",
+ "providerType"
+ ]
+ },
+ "target": {
+ "description": "Target",
+ "type": "object",
+ "properties": {
+ "$id": {
+ "type": "string",
+ "description": "Target ID.",
+ "x-example": "259125845563242502"
+ },
+ "$createdAt": {
+ "type": "string",
+ "description": "Target creation time in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "$updatedAt": {
+ "type": "string",
+ "description": "Target update date in ISO 8601 format.",
+ "x-example": "2020-10-15T06:38:00.000+00:00"
+ },
+ "name": {
+ "type": "string",
+ "description": "Target Name.",
+ "x-example": "Apple iPhone 12"
+ },
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": "259125845563242502"
+ },
+ "providerId": {
+ "type": "string",
+ "description": "Provider ID.",
+ "x-example": "259125845563242502",
+ "nullable": true
+ },
+ "providerType": {
+ "type": "string",
+ "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.",
+ "x-example": "email"
+ },
+ "identifier": {
+ "type": "string",
+ "description": "The target identifier.",
+ "x-example": "token"
+ },
+ "expired": {
+ "type": "boolean",
+ "description": "Is the target expired.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "$id",
+ "$createdAt",
+ "$updatedAt",
+ "name",
+ "userId",
+ "providerType",
+ "identifier",
+ "expired"
+ ]
+ }
+ },
+ "securitySchemes": {
+ "Project": {
+ "type": "apiKey",
+ "name": "X-Appwrite-Project",
+ "description": "Your project ID",
+ "in": "header",
+ "x-appwrite": {
+ "demo": ""
+ }
+ },
+ "JWT": {
+ "type": "apiKey",
+ "name": "X-Appwrite-JWT",
+ "description": "Your secret JSON Web Token",
+ "in": "header"
+ },
+ "Locale": {
+ "type": "apiKey",
+ "name": "X-Appwrite-Locale",
+ "description": "",
+ "in": "header",
+ "x-appwrite": {
+ "demo": "en"
+ }
+ },
+ "Session": {
+ "type": "apiKey",
+ "name": "X-Appwrite-Session",
+ "description": "The user session to authenticate with",
+ "in": "header"
+ },
+ "DevKey": {
+ "type": "apiKey",
+ "name": "X-Appwrite-Dev-Key",
+ "description": "Your secret dev API key",
+ "in": "header"
+ }
+ }
+ },
+ "externalDocs": {
+ "description": "Full API docs, specs and tutorials",
+ "url": "https:\/\/appwrite.io\/docs"
+ }
+}
\ No newline at end of file
diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json
new file mode 100644
index 0000000000..85ef1334d4
--- /dev/null
+++ b/app/config/specs/open-api3-1.8.x-console.json
@@ -0,0 +1,44056 @@
+{
+ "openapi": "3.0.0",
+ "info": {
+ "version": "1.7.4",
+ "title": "Appwrite",
+ "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)",
+ "termsOfService": "https:\/\/appwrite.io\/policy\/terms",
+ "contact": {
+ "name": "Appwrite Team",
+ "url": "https:\/\/appwrite.io\/support",
+ "email": "team@appwrite.io"
+ },
+ "license": {
+ "name": "BSD-3-Clause",
+ "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"
+ }
+ },
+ "servers": [
+ {
+ "url": "https:\/\/cloud.appwrite.io\/v1"
+ },
+ {
+ "url": "https:\/\/.cloud.appwrite.io\/v1"
+ }
+ ],
+ "paths": {
+ "\/account": {
+ "get": {
+ "summary": "Get account",
+ "operationId": "accountGet",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "get",
+ "group": "account",
+ "weight": 10,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create account",
+ "operationId": "accountCreate",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).",
+ "responses": {
+ "201": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "create",
+ "group": "account",
+ "weight": 9,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "password": {
+ "type": "string",
+ "description": "New user password. Must be between 8 and 256 chars.",
+ "x-example": null
+ },
+ "name": {
+ "type": "string",
+ "description": "User name. Max length: 128 chars.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "email",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete account",
+ "operationId": "accountDelete",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete the currently logged in user.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "delete",
+ "group": "account",
+ "weight": 11,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "console"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ]
+ }
+ },
+ "\/account\/email": {
+ "patch": {
+ "summary": "Update email",
+ "operationId": "accountUpdateEmail",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateEmail",
+ "group": "account",
+ "weight": 35,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-email.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "password": {
+ "type": "string",
+ "description": "User password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "email",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/identities": {
+ "get": {
+ "summary": "List identities",
+ "operationId": "accountListIdentities",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the list of identities for the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "Identities List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/identityList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listIdentities",
+ "group": "identities",
+ "weight": 58,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-identities.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/identities\/{identityId}": {
+ "delete": {
+ "summary": "Delete identity",
+ "operationId": "accountDeleteIdentity",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete an identity by its unique ID.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteIdentity",
+ "group": "identities",
+ "weight": 59,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-identity.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "identityId",
+ "description": "Identity ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/jwts": {
+ "post": {
+ "summary": "Create JWT",
+ "operationId": "accountCreateJWT",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.",
+ "responses": {
+ "201": {
+ "description": "JWT",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/jwt"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createJWT",
+ "group": "tokens",
+ "weight": 30,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-j-w-t.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md",
+ "rate-limit": 100,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{userId}",
+ "scope": "account",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ]
+ }
+ },
+ "\/account\/logs": {
+ "get": {
+ "summary": "List logs",
+ "operationId": "accountListLogs",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.",
+ "responses": {
+ "200": {
+ "description": "Logs List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/logList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listLogs",
+ "group": "logs",
+ "weight": 32,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-logs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/mfa": {
+ "patch": {
+ "summary": "Update MFA",
+ "operationId": "accountUpdateMFA",
+ "tags": [
+ "account"
+ ],
+ "description": "Enable or disable MFA on an account.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMFA",
+ "group": "mfa",
+ "weight": 45,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-m-f-a.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "mfa": {
+ "type": "boolean",
+ "description": "Enable or disable MFA.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "mfa"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/mfa\/authenticators\/{type}": {
+ "post": {
+ "summary": "Create authenticator",
+ "operationId": "accountCreateMfaAuthenticator",
+ "tags": [
+ "account"
+ ],
+ "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.",
+ "responses": {
+ "200": {
+ "description": "MFAType",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaType"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMfaAuthenticator",
+ "group": "mfa",
+ "weight": 47,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-mfa-authenticator.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "type",
+ "description": "Type of authenticator. Must be `totp`",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "totp",
+ "enum": [
+ "totp"
+ ],
+ "x-enum-name": "AuthenticatorType",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update authenticator (confirmation)",
+ "operationId": "accountUpdateMfaAuthenticator",
+ "tags": [
+ "account"
+ ],
+ "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMfaAuthenticator",
+ "group": "mfa",
+ "weight": 48,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-mfa-authenticator.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "type",
+ "description": "Type of authenticator.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "totp",
+ "enum": [
+ "totp"
+ ],
+ "x-enum-name": "AuthenticatorType",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "otp": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "otp"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete authenticator",
+ "operationId": "accountDeleteMfaAuthenticator",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete an authenticator for a user by ID.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteMfaAuthenticator",
+ "group": "mfa",
+ "weight": 52,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-mfa-authenticator.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "type",
+ "description": "Type of authenticator.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "totp",
+ "enum": [
+ "totp"
+ ],
+ "x-enum-name": "AuthenticatorType",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/mfa\/challenge": {
+ "post": {
+ "summary": "Create MFA challenge",
+ "operationId": "accountCreateMfaChallenge",
+ "tags": [
+ "account"
+ ],
+ "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.",
+ "responses": {
+ "201": {
+ "description": "MFA Challenge",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaChallenge"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMfaChallenge",
+ "group": "mfa",
+ "weight": 53,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-mfa-challenge.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{userId}",
+ "scope": "account",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "factor": {
+ "type": "string",
+ "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.",
+ "x-example": "email",
+ "enum": [
+ "email",
+ "phone",
+ "totp",
+ "recoverycode"
+ ],
+ "x-enum-name": "AuthenticationFactor",
+ "x-enum-keys": []
+ }
+ },
+ "required": [
+ "factor"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "summary": "Update MFA challenge (confirmation)",
+ "operationId": "accountUpdateMfaChallenge",
+ "tags": [
+ "account"
+ ],
+ "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.",
+ "responses": {
+ "200": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMfaChallenge",
+ "group": "mfa",
+ "weight": 54,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-mfa-challenge.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},challengeId:{param-challengeId}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "challengeId": {
+ "type": "string",
+ "description": "ID of the challenge.",
+ "x-example": ""
+ },
+ "otp": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "challengeId",
+ "otp"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/mfa\/factors": {
+ "get": {
+ "summary": "List factors",
+ "operationId": "accountListMfaFactors",
+ "tags": [
+ "account"
+ ],
+ "description": "List the factors available on the account to be used as a MFA challange.",
+ "responses": {
+ "200": {
+ "description": "MFAFactors",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaFactors"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listMfaFactors",
+ "group": "mfa",
+ "weight": 46,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-mfa-factors.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/mfa\/recovery-codes": {
+ "get": {
+ "summary": "List MFA recovery codes",
+ "operationId": "accountGetMfaRecoveryCodes",
+ "tags": [
+ "account"
+ ],
+ "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.",
+ "responses": {
+ "200": {
+ "description": "MFA Recovery Codes",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaRecoveryCodes"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getMfaRecoveryCodes",
+ "group": "mfa",
+ "weight": 51,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get-mfa-recovery-codes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create MFA recovery codes",
+ "operationId": "accountCreateMfaRecoveryCodes",
+ "tags": [
+ "account"
+ ],
+ "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.",
+ "responses": {
+ "201": {
+ "description": "MFA Recovery Codes",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaRecoveryCodes"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMfaRecoveryCodes",
+ "group": "mfa",
+ "weight": 49,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-mfa-recovery-codes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ },
+ "patch": {
+ "summary": "Update MFA recovery codes (regenerate)",
+ "operationId": "accountUpdateMfaRecoveryCodes",
+ "tags": [
+ "account"
+ ],
+ "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.",
+ "responses": {
+ "200": {
+ "description": "MFA Recovery Codes",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/mfaRecoveryCodes"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMfaRecoveryCodes",
+ "group": "mfa",
+ "weight": 50,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-mfa-recovery-codes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/name": {
+ "patch": {
+ "summary": "Update name",
+ "operationId": "accountUpdateName",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user account name.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateName",
+ "group": "account",
+ "weight": 33,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-name.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "User name. Max length: 128 chars.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/password": {
+ "patch": {
+ "summary": "Update password",
+ "operationId": "accountUpdatePassword",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePassword",
+ "group": "account",
+ "weight": 34,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-password.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "New user password. Must be at least 8 chars.",
+ "x-example": null
+ },
+ "oldPassword": {
+ "type": "string",
+ "description": "Current user password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/phone": {
+ "patch": {
+ "summary": "Update phone",
+ "operationId": "accountUpdatePhone",
+ "tags": [
+ "account"
+ ],
+ "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePhone",
+ "group": "account",
+ "weight": 36,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-phone.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "phone": {
+ "type": "string",
+ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
+ "x-example": "+12065550100"
+ },
+ "password": {
+ "type": "string",
+ "description": "User password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "phone",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/prefs": {
+ "get": {
+ "summary": "Get account preferences",
+ "operationId": "accountGetPrefs",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the preferences as a key-value object for the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "Preferences",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/preferences"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getPrefs",
+ "group": "account",
+ "weight": 31,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get-prefs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ },
+ "patch": {
+ "summary": "Update preferences",
+ "operationId": "accountUpdatePrefs",
+ "tags": [
+ "account"
+ ],
+ "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePrefs",
+ "group": "account",
+ "weight": 37,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-prefs.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "prefs": {
+ "type": "object",
+ "description": "Prefs key-value JSON object.",
+ "x-example": "{}"
+ }
+ },
+ "required": [
+ "prefs"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/recovery": {
+ "post": {
+ "summary": "Create password recovery",
+ "operationId": "accountCreateRecovery",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createRecovery",
+ "group": "recovery",
+ "weight": 39,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-recovery.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},email:{param-email}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "url": {
+ "type": "string",
+ "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
+ "x-example": "https:\/\/example.com"
+ }
+ },
+ "required": [
+ "email",
+ "url"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "summary": "Update password recovery (confirmation)",
+ "operationId": "accountUpdateRecovery",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\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.",
+ "responses": {
+ "200": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateRecovery",
+ "group": "recovery",
+ "weight": 40,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-recovery.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid reset token.",
+ "x-example": ""
+ },
+ "password": {
+ "type": "string",
+ "description": "New user password. Must be between 8 and 256 chars.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "userId",
+ "secret",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions": {
+ "get": {
+ "summary": "List sessions",
+ "operationId": "accountListSessions",
+ "tags": [
+ "account"
+ ],
+ "description": "Get the list of active sessions across different devices for the currently logged in user.",
+ "responses": {
+ "200": {
+ "description": "Sessions List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/sessionList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listSessions",
+ "group": "sessions",
+ "weight": 12,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/list-sessions.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ },
+ "delete": {
+ "summary": "Delete sessions",
+ "operationId": "accountDeleteSessions",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteSessions",
+ "group": "sessions",
+ "weight": 13,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-sessions.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md",
+ "rate-limit": 100,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/sessions\/anonymous": {
+ "post": {
+ "summary": "Create anonymous session",
+ "operationId": "accountCreateAnonymousSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createAnonymousSession",
+ "group": "sessions",
+ "weight": 18,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-anonymous-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md",
+ "rate-limit": 50,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ]
+ }
+ },
+ "\/account\/sessions\/email": {
+ "post": {
+ "summary": "Create email password session",
+ "operationId": "accountCreateEmailPasswordSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createEmailPasswordSession",
+ "group": "sessions",
+ "weight": 17,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-email-password-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},email:{param-email}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "password": {
+ "type": "string",
+ "description": "User password. Must be at least 8 chars.",
+ "x-example": "password"
+ }
+ },
+ "required": [
+ "email",
+ "password"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/magic-url": {
+ "put": {
+ "summary": "Update magic URL session",
+ "operationId": "accountUpdateMagicURLSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateMagicURLSession",
+ "group": "sessions",
+ "weight": 27,
+ "cookies": false,
+ "type": "",
+ "deprecated": true,
+ "demo": "account\/update-magic-u-r-l-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/oauth2\/{provider}": {
+ "get": {
+ "summary": "Create OAuth2 session",
+ "operationId": "accountCreateOAuth2Session",
+ "tags": [
+ "account"
+ ],
+ "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
+ "responses": {
+ "301": {
+ "description": "File"
+ }
+ },
+ "x-appwrite": {
+ "method": "createOAuth2Session",
+ "group": "sessions",
+ "weight": 20,
+ "cookies": false,
+ "type": "webAuth",
+ "deprecated": false,
+ "demo": "account\/create-o-auth2session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md",
+ "rate-limit": 50,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "provider",
+ "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "amazon",
+ "enum": [
+ "amazon",
+ "apple",
+ "auth0",
+ "authentik",
+ "autodesk",
+ "bitbucket",
+ "bitly",
+ "box",
+ "dailymotion",
+ "discord",
+ "disqus",
+ "dropbox",
+ "etsy",
+ "facebook",
+ "figma",
+ "github",
+ "gitlab",
+ "google",
+ "linkedin",
+ "microsoft",
+ "notion",
+ "oidc",
+ "okta",
+ "paypal",
+ "paypalSandbox",
+ "podio",
+ "salesforce",
+ "slack",
+ "spotify",
+ "stripe",
+ "tradeshift",
+ "tradeshiftBox",
+ "twitch",
+ "wordpress",
+ "yahoo",
+ "yammer",
+ "yandex",
+ "zoho",
+ "zoom",
+ "mock"
+ ],
+ "x-enum-name": "OAuthProvider",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ },
+ {
+ "name": "success",
+ "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "failure",
+ "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "scopes",
+ "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/sessions\/phone": {
+ "put": {
+ "summary": "Update phone session",
+ "operationId": "accountUpdatePhoneSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePhoneSession",
+ "group": "sessions",
+ "weight": 28,
+ "cookies": false,
+ "type": "",
+ "deprecated": true,
+ "demo": "account\/update-phone-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/token": {
+ "post": {
+ "summary": "Create session",
+ "operationId": "accountCreateSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.",
+ "responses": {
+ "201": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createSession",
+ "group": "sessions",
+ "weight": 19,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip},userId:{param-userId}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/sessions\/{sessionId}": {
+ "get": {
+ "summary": "Get session",
+ "operationId": "accountGetSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.",
+ "responses": {
+ "200": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getSession",
+ "group": "sessions",
+ "weight": 14,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/get-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "sessionId",
+ "description": "Session ID. Use the string 'current' to get the current device session.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "patch": {
+ "summary": "Update session",
+ "operationId": "accountUpdateSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.",
+ "responses": {
+ "200": {
+ "description": "Session",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/session"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateSession",
+ "group": "sessions",
+ "weight": 16,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "sessionId",
+ "description": "Session ID. Use the string 'current' to update the current device session.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "delete": {
+ "summary": "Delete session",
+ "operationId": "accountDeleteSession",
+ "tags": [
+ "account"
+ ],
+ "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteSession",
+ "group": "sessions",
+ "weight": 15,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-session.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md",
+ "rate-limit": 100,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "sessionId",
+ "description": "Session ID. Use the string 'current' to delete the current device session.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/status": {
+ "patch": {
+ "summary": "Update status",
+ "operationId": "accountUpdateStatus",
+ "tags": [
+ "account"
+ ],
+ "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.",
+ "responses": {
+ "200": {
+ "description": "User",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/user"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateStatus",
+ "group": "account",
+ "weight": 38,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-status.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ }
+ },
+ "\/account\/targets\/push": {
+ "post": {
+ "summary": "Create push target",
+ "operationId": "accountCreatePushTarget",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to register a device for push notifications. Provide a target ID (custom or generated using ID.unique()), a device identifier (usually a device token), and optionally specify which provider should send notifications to this target. The target is automatically linked to the current session and includes device information like brand and model.",
+ "responses": {
+ "201": {
+ "description": "Target",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/target"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createPushTarget",
+ "group": "pushTargets",
+ "weight": 55,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-push-target.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "targets.write",
+ "platforms": [
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "targetId": {
+ "type": "string",
+ "description": "Target 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.",
+ "x-example": ""
+ },
+ "identifier": {
+ "type": "string",
+ "description": "The target identifier (token, email, phone etc.)",
+ "x-example": ""
+ },
+ "providerId": {
+ "type": "string",
+ "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "targetId",
+ "identifier"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/targets\/{targetId}\/push": {
+ "put": {
+ "summary": "Update push target",
+ "operationId": "accountUpdatePushTarget",
+ "tags": [
+ "account"
+ ],
+ "description": "Update the currently logged in user's push notification target. You can modify the target's identifier (device token) and provider ID (token, email, phone etc.). The target must exist and belong to the current user. If you change the provider ID, notifications will be sent through the new messaging provider instead.",
+ "responses": {
+ "200": {
+ "description": "Target",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/target"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePushTarget",
+ "group": "pushTargets",
+ "weight": 56,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-push-target.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "targets.write",
+ "platforms": [
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "targetId",
+ "description": "Target ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "identifier": {
+ "type": "string",
+ "description": "The target identifier (token, email, phone etc.)",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "identifier"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete push target",
+ "operationId": "accountDeletePushTarget",
+ "tags": [
+ "account"
+ ],
+ "description": "Delete a push notification target for the currently logged in user. After deletion, the device will no longer receive push notifications. The target must exist and belong to the current user.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deletePushTarget",
+ "group": "pushTargets",
+ "weight": 57,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/delete-push-target.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "targets.write",
+ "platforms": [
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "targetId",
+ "description": "Target ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/account\/tokens\/email": {
+ "post": {
+ "summary": "Create email token (OTP)",
+ "operationId": "accountCreateEmailToken",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createEmailToken",
+ "group": "tokens",
+ "weight": 26,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-email-token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},email:{param-email}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User 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.",
+ "x-example": ""
+ },
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "phrase": {
+ "type": "boolean",
+ "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "userId",
+ "email"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/tokens\/magic-url": {
+ "post": {
+ "summary": "Create magic URL token",
+ "operationId": "accountCreateMagicURLToken",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createMagicURLToken",
+ "group": "tokens",
+ "weight": 25,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-magic-u-r-l-token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md",
+ "rate-limit": 60,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},email:{param-email}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "Unique 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.",
+ "x-example": ""
+ },
+ "email": {
+ "type": "string",
+ "description": "User email.",
+ "x-example": "email@example.com"
+ },
+ "url": {
+ "type": "string",
+ "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
+ "x-example": "https:\/\/example.com"
+ },
+ "phrase": {
+ "type": "boolean",
+ "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "userId",
+ "email"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/tokens\/oauth2\/{provider}": {
+ "get": {
+ "summary": "Create OAuth2 token",
+ "operationId": "accountCreateOAuth2Token",
+ "tags": [
+ "account"
+ ],
+ "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "301": {
+ "description": "File"
+ }
+ },
+ "x-appwrite": {
+ "method": "createOAuth2Token",
+ "group": "tokens",
+ "weight": 24,
+ "cookies": false,
+ "type": "webAuth",
+ "deprecated": false,
+ "demo": "account\/create-o-auth2token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md",
+ "rate-limit": 50,
+ "rate-time": 3600,
+ "rate-key": "ip:{ip}",
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "provider",
+ "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "amazon",
+ "enum": [
+ "amazon",
+ "apple",
+ "auth0",
+ "authentik",
+ "autodesk",
+ "bitbucket",
+ "bitly",
+ "box",
+ "dailymotion",
+ "discord",
+ "disqus",
+ "dropbox",
+ "etsy",
+ "facebook",
+ "figma",
+ "github",
+ "gitlab",
+ "google",
+ "linkedin",
+ "microsoft",
+ "notion",
+ "oidc",
+ "okta",
+ "paypal",
+ "paypalSandbox",
+ "podio",
+ "salesforce",
+ "slack",
+ "spotify",
+ "stripe",
+ "tradeshift",
+ "tradeshiftBox",
+ "twitch",
+ "wordpress",
+ "yahoo",
+ "yammer",
+ "yandex",
+ "zoho",
+ "zoom",
+ "mock"
+ ],
+ "x-enum-name": "OAuthProvider",
+ "x-enum-keys": []
+ },
+ "in": "path"
+ },
+ {
+ "name": "success",
+ "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "failure",
+ "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's 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.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "scopes",
+ "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/account\/tokens\/phone": {
+ "post": {
+ "summary": "Create phone token",
+ "operationId": "accountCreatePhoneToken",
+ "tags": [
+ "account"
+ ],
+ "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createPhoneToken",
+ "group": "tokens",
+ "weight": 29,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-phone-token.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},phone:{param-phone}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "sessions.write",
+ "platforms": [
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "Unique 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.",
+ "x-example": ""
+ },
+ "phone": {
+ "type": "string",
+ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
+ "x-example": "+12065550100"
+ }
+ },
+ "required": [
+ "userId",
+ "phone"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/verification": {
+ "post": {
+ "summary": "Create email verification",
+ "operationId": "accountCreateVerification",
+ "tags": [
+ "account"
+ ],
+ "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",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createVerification",
+ "group": "verification",
+ "weight": 41,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{userId}",
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
+ "x-example": "https:\/\/example.com"
+ }
+ },
+ "required": [
+ "url"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "summary": "Update email verification (confirmation)",
+ "operationId": "accountUpdateVerification",
+ "tags": [
+ "account"
+ ],
+ "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.",
+ "responses": {
+ "200": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateVerification",
+ "group": "verification",
+ "weight": 42,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "url:{url},userId:{param-userId}",
+ "scope": "public",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/account\/verification\/phone": {
+ "post": {
+ "summary": "Create phone verification",
+ "operationId": "accountCreatePhoneVerification",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.",
+ "responses": {
+ "201": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createPhoneVerification",
+ "group": "verification",
+ "weight": 43,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/create-phone-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": [
+ "url:{url},userId:{userId}",
+ "url:{url},ip:{ip}"
+ ],
+ "scope": "account",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update phone verification (confirmation)",
+ "operationId": "accountUpdatePhoneVerification",
+ "tags": [
+ "account"
+ ],
+ "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.",
+ "responses": {
+ "200": {
+ "description": "Token",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/token"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updatePhoneVerification",
+ "group": "verification",
+ "weight": 44,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "account\/update-phone-verification.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md",
+ "rate-limit": 10,
+ "rate-time": 3600,
+ "rate-key": "userId:{param-userId}",
+ "scope": "public",
+ "platforms": [
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "JWT": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User ID.",
+ "x-example": ""
+ },
+ "secret": {
+ "type": "string",
+ "description": "Valid verification token.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "userId",
+ "secret"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/avatars\/browsers\/{code}": {
+ "get": {
+ "summary": "Get browser icon",
+ "operationId": "avatarsGetBrowser",
+ "tags": [
+ "avatars"
+ ],
+ "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getBrowser",
+ "group": null,
+ "weight": 61,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-browser.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "code",
+ "description": "Browser Code.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "aa",
+ "enum": [
+ "aa",
+ "an",
+ "ch",
+ "ci",
+ "cm",
+ "cr",
+ "ff",
+ "sf",
+ "mf",
+ "ps",
+ "oi",
+ "om",
+ "op",
+ "on"
+ ],
+ "x-enum-name": "Browser",
+ "x-enum-keys": [
+ "Avant Browser",
+ "Android WebView Beta",
+ "Google Chrome",
+ "Google Chrome (iOS)",
+ "Google Chrome (Mobile)",
+ "Chromium",
+ "Mozilla Firefox",
+ "Safari",
+ "Mobile Safari",
+ "Microsoft Edge",
+ "Microsoft Edge (iOS)",
+ "Opera Mini",
+ "Opera",
+ "Opera (Next)"
+ ]
+ },
+ "in": "path"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "quality",
+ "description": "Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -1,
+ "default": -1
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/credit-cards\/{code}": {
+ "get": {
+ "summary": "Get credit card icon",
+ "operationId": "avatarsGetCreditCard",
+ "tags": [
+ "avatars"
+ ],
+ "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getCreditCard",
+ "group": null,
+ "weight": 60,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-credit-card.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "code",
+ "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "amex",
+ "enum": [
+ "amex",
+ "argencard",
+ "cabal",
+ "cencosud",
+ "diners",
+ "discover",
+ "elo",
+ "hipercard",
+ "jcb",
+ "mastercard",
+ "naranja",
+ "targeta-shopping",
+ "union-china-pay",
+ "visa",
+ "mir",
+ "maestro",
+ "rupay"
+ ],
+ "x-enum-name": "CreditCard",
+ "x-enum-keys": [
+ "American Express",
+ "Argencard",
+ "Cabal",
+ "Cencosud",
+ "Diners Club",
+ "Discover",
+ "Elo",
+ "Hipercard",
+ "JCB",
+ "Mastercard",
+ "Naranja",
+ "Tarjeta Shopping",
+ "Union China Pay",
+ "Visa",
+ "MIR",
+ "Maestro",
+ "Rupay"
+ ]
+ },
+ "in": "path"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "quality",
+ "description": "Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -1,
+ "default": -1
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/favicon": {
+ "get": {
+ "summary": "Get favicon",
+ "operationId": "avatarsGetFavicon",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getFavicon",
+ "group": null,
+ "weight": 64,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-favicon.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "url",
+ "description": "Website URL which you want to fetch the favicon from.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com"
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/flags\/{code}": {
+ "get": {
+ "summary": "Get country flag",
+ "operationId": "avatarsGetFlag",
+ "tags": [
+ "avatars"
+ ],
+ "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getFlag",
+ "group": null,
+ "weight": 62,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-flag.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "code",
+ "description": "Country Code. ISO Alpha-2 country code format.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "af",
+ "enum": [
+ "af",
+ "ao",
+ "al",
+ "ad",
+ "ae",
+ "ar",
+ "am",
+ "ag",
+ "au",
+ "at",
+ "az",
+ "bi",
+ "be",
+ "bj",
+ "bf",
+ "bd",
+ "bg",
+ "bh",
+ "bs",
+ "ba",
+ "by",
+ "bz",
+ "bo",
+ "br",
+ "bb",
+ "bn",
+ "bt",
+ "bw",
+ "cf",
+ "ca",
+ "ch",
+ "cl",
+ "cn",
+ "ci",
+ "cm",
+ "cd",
+ "cg",
+ "co",
+ "km",
+ "cv",
+ "cr",
+ "cu",
+ "cy",
+ "cz",
+ "de",
+ "dj",
+ "dm",
+ "dk",
+ "do",
+ "dz",
+ "ec",
+ "eg",
+ "er",
+ "es",
+ "ee",
+ "et",
+ "fi",
+ "fj",
+ "fr",
+ "fm",
+ "ga",
+ "gb",
+ "ge",
+ "gh",
+ "gn",
+ "gm",
+ "gw",
+ "gq",
+ "gr",
+ "gd",
+ "gt",
+ "gy",
+ "hn",
+ "hr",
+ "ht",
+ "hu",
+ "id",
+ "in",
+ "ie",
+ "ir",
+ "iq",
+ "is",
+ "il",
+ "it",
+ "jm",
+ "jo",
+ "jp",
+ "kz",
+ "ke",
+ "kg",
+ "kh",
+ "ki",
+ "kn",
+ "kr",
+ "kw",
+ "la",
+ "lb",
+ "lr",
+ "ly",
+ "lc",
+ "li",
+ "lk",
+ "ls",
+ "lt",
+ "lu",
+ "lv",
+ "ma",
+ "mc",
+ "md",
+ "mg",
+ "mv",
+ "mx",
+ "mh",
+ "mk",
+ "ml",
+ "mt",
+ "mm",
+ "me",
+ "mn",
+ "mz",
+ "mr",
+ "mu",
+ "mw",
+ "my",
+ "na",
+ "ne",
+ "ng",
+ "ni",
+ "nl",
+ "no",
+ "np",
+ "nr",
+ "nz",
+ "om",
+ "pk",
+ "pa",
+ "pe",
+ "ph",
+ "pw",
+ "pg",
+ "pl",
+ "pf",
+ "kp",
+ "pt",
+ "py",
+ "qa",
+ "ro",
+ "ru",
+ "rw",
+ "sa",
+ "sd",
+ "sn",
+ "sg",
+ "sb",
+ "sl",
+ "sv",
+ "sm",
+ "so",
+ "rs",
+ "ss",
+ "st",
+ "sr",
+ "sk",
+ "si",
+ "se",
+ "sz",
+ "sc",
+ "sy",
+ "td",
+ "tg",
+ "th",
+ "tj",
+ "tm",
+ "tl",
+ "to",
+ "tt",
+ "tn",
+ "tr",
+ "tv",
+ "tz",
+ "ug",
+ "ua",
+ "uy",
+ "us",
+ "uz",
+ "va",
+ "vc",
+ "ve",
+ "vn",
+ "vu",
+ "ws",
+ "ye",
+ "za",
+ "zm",
+ "zw"
+ ],
+ "x-enum-name": "Flag",
+ "x-enum-keys": [
+ "Afghanistan",
+ "Angola",
+ "Albania",
+ "Andorra",
+ "United Arab Emirates",
+ "Argentina",
+ "Armenia",
+ "Antigua and Barbuda",
+ "Australia",
+ "Austria",
+ "Azerbaijan",
+ "Burundi",
+ "Belgium",
+ "Benin",
+ "Burkina Faso",
+ "Bangladesh",
+ "Bulgaria",
+ "Bahrain",
+ "Bahamas",
+ "Bosnia and Herzegovina",
+ "Belarus",
+ "Belize",
+ "Bolivia",
+ "Brazil",
+ "Barbados",
+ "Brunei Darussalam",
+ "Bhutan",
+ "Botswana",
+ "Central African Republic",
+ "Canada",
+ "Switzerland",
+ "Chile",
+ "China",
+ "C\u00f4te d'Ivoire",
+ "Cameroon",
+ "Democratic Republic of the Congo",
+ "Republic of the Congo",
+ "Colombia",
+ "Comoros",
+ "Cape Verde",
+ "Costa Rica",
+ "Cuba",
+ "Cyprus",
+ "Czech Republic",
+ "Germany",
+ "Djibouti",
+ "Dominica",
+ "Denmark",
+ "Dominican Republic",
+ "Algeria",
+ "Ecuador",
+ "Egypt",
+ "Eritrea",
+ "Spain",
+ "Estonia",
+ "Ethiopia",
+ "Finland",
+ "Fiji",
+ "France",
+ "Micronesia (Federated States of)",
+ "Gabon",
+ "United Kingdom",
+ "Georgia",
+ "Ghana",
+ "Guinea",
+ "Gambia",
+ "Guinea-Bissau",
+ "Equatorial Guinea",
+ "Greece",
+ "Grenada",
+ "Guatemala",
+ "Guyana",
+ "Honduras",
+ "Croatia",
+ "Haiti",
+ "Hungary",
+ "Indonesia",
+ "India",
+ "Ireland",
+ "Iran (Islamic Republic of)",
+ "Iraq",
+ "Iceland",
+ "Israel",
+ "Italy",
+ "Jamaica",
+ "Jordan",
+ "Japan",
+ "Kazakhstan",
+ "Kenya",
+ "Kyrgyzstan",
+ "Cambodia",
+ "Kiribati",
+ "Saint Kitts and Nevis",
+ "South Korea",
+ "Kuwait",
+ "Lao People's Democratic Republic",
+ "Lebanon",
+ "Liberia",
+ "Libya",
+ "Saint Lucia",
+ "Liechtenstein",
+ "Sri Lanka",
+ "Lesotho",
+ "Lithuania",
+ "Luxembourg",
+ "Latvia",
+ "Morocco",
+ "Monaco",
+ "Moldova",
+ "Madagascar",
+ "Maldives",
+ "Mexico",
+ "Marshall Islands",
+ "North Macedonia",
+ "Mali",
+ "Malta",
+ "Myanmar",
+ "Montenegro",
+ "Mongolia",
+ "Mozambique",
+ "Mauritania",
+ "Mauritius",
+ "Malawi",
+ "Malaysia",
+ "Namibia",
+ "Niger",
+ "Nigeria",
+ "Nicaragua",
+ "Netherlands",
+ "Norway",
+ "Nepal",
+ "Nauru",
+ "New Zealand",
+ "Oman",
+ "Pakistan",
+ "Panama",
+ "Peru",
+ "Philippines",
+ "Palau",
+ "Papua New Guinea",
+ "Poland",
+ "French Polynesia",
+ "North Korea",
+ "Portugal",
+ "Paraguay",
+ "Qatar",
+ "Romania",
+ "Russia",
+ "Rwanda",
+ "Saudi Arabia",
+ "Sudan",
+ "Senegal",
+ "Singapore",
+ "Solomon Islands",
+ "Sierra Leone",
+ "El Salvador",
+ "San Marino",
+ "Somalia",
+ "Serbia",
+ "South Sudan",
+ "Sao Tome and Principe",
+ "Suriname",
+ "Slovakia",
+ "Slovenia",
+ "Sweden",
+ "Eswatini",
+ "Seychelles",
+ "Syria",
+ "Chad",
+ "Togo",
+ "Thailand",
+ "Tajikistan",
+ "Turkmenistan",
+ "Timor-Leste",
+ "Tonga",
+ "Trinidad and Tobago",
+ "Tunisia",
+ "Turkey",
+ "Tuvalu",
+ "Tanzania",
+ "Uganda",
+ "Ukraine",
+ "Uruguay",
+ "United States",
+ "Uzbekistan",
+ "Vatican City",
+ "Saint Vincent and the Grenadines",
+ "Venezuela",
+ "Vietnam",
+ "Vanuatu",
+ "Samoa",
+ "Yemen",
+ "South Africa",
+ "Zambia",
+ "Zimbabwe"
+ ]
+ },
+ "in": "path"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 100
+ },
+ "in": "query"
+ },
+ {
+ "name": "quality",
+ "description": "Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": -1,
+ "default": -1
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/image": {
+ "get": {
+ "summary": "Get image from URL",
+ "operationId": "avatarsGetImage",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getImage",
+ "group": null,
+ "weight": 63,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-image.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "url",
+ "description": "Image URL which you want to crop.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "url",
+ "x-example": "https:\/\/example.com"
+ },
+ "in": "query"
+ },
+ {
+ "name": "width",
+ "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 400
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 400
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/initials": {
+ "get": {
+ "summary": "Get user initials",
+ "operationId": "avatarsGetInitials",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getInitials",
+ "group": null,
+ "weight": 66,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-initials.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "name",
+ "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "width",
+ "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 500
+ },
+ "in": "query"
+ },
+ {
+ "name": "height",
+ "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 500
+ },
+ "in": "query"
+ },
+ {
+ "name": "background",
+ "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/avatars\/qr": {
+ "get": {
+ "summary": "Get QR code",
+ "operationId": "avatarsGetQR",
+ "tags": [
+ "avatars"
+ ],
+ "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n",
+ "responses": {
+ "200": {
+ "description": "Image"
+ }
+ },
+ "x-appwrite": {
+ "method": "getQR",
+ "group": null,
+ "weight": 65,
+ "cookies": false,
+ "type": "location",
+ "deprecated": false,
+ "demo": "avatars\/get-q-r.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "avatars.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "text",
+ "description": "Plain text to be converted to QR code image.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "size",
+ "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 1,
+ "default": 400
+ },
+ "in": "query"
+ },
+ {
+ "name": "margin",
+ "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "x-example": 0,
+ "default": 1
+ },
+ "in": "query"
+ },
+ {
+ "name": "download",
+ "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "x-example": false,
+ "default": false
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/console\/assistant": {
+ "post": {
+ "summary": "Create assistant query",
+ "operationId": "assistantChat",
+ "tags": [
+ "assistant"
+ ],
+ "description": "Send a prompt to the AI assistant and receive a response. This endpoint allows you to interact with Appwrite's AI assistant by sending questions or prompts and receiving helpful responses in real-time through a server-sent events stream. ",
+ "responses": {
+ "200": {
+ "description": "File"
+ }
+ },
+ "x-appwrite": {
+ "method": "chat",
+ "group": "console",
+ "weight": 310,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "assistant\/chat.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md",
+ "rate-limit": 15,
+ "rate-time": 3600,
+ "rate-key": "userId:{userId}",
+ "scope": "assistant.read",
+ "platforms": [
+ "console"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "prompt": {
+ "type": "string",
+ "description": "Prompt. A string containing questions asked to the AI assistant.",
+ "x-example": ""
+ }
+ },
+ "required": [
+ "prompt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/console\/resources": {
+ "get": {
+ "summary": "Check resource ID availability",
+ "operationId": "consoleGetResource",
+ "tags": [
+ "console"
+ ],
+ "description": "Check if a resource ID is available.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "getResource",
+ "group": null,
+ "weight": 434,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "console\/get-resource.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCheck if a resource ID is available.",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "userId:{userId}, url:{url}",
+ "scope": "rules.read",
+ "platforms": [
+ "console"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "value",
+ "description": "Resource value.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "query"
+ },
+ {
+ "name": "type",
+ "description": "Resource type.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "rules",
+ "enum": [
+ "rules"
+ ],
+ "x-enum-name": "ConsoleResourceType",
+ "x-enum-keys": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/console\/variables": {
+ "get": {
+ "summary": "Get variables",
+ "operationId": "consoleVariables",
+ "tags": [
+ "console"
+ ],
+ "description": "Get all Environment Variables that are relevant for the console.",
+ "responses": {
+ "200": {
+ "description": "Console Variables",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/consoleVariables"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "variables",
+ "group": "console",
+ "weight": 309,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "console\/variables.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "projects.read",
+ "platforms": [
+ "console"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ]
+ }
+ },
+ "\/databases": {
+ "get": {
+ "summary": "List databases",
+ "operationId": "databasesList",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.",
+ "responses": {
+ "200": {
+ "description": "Databases List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/databaseList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "list",
+ "group": "databases",
+ "weight": 71,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/list.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "databases.read",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ },
+ {
+ "name": "search",
+ "description": "Search term to filter your list results. Max length: 256 chars.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create database",
+ "operationId": "databasesCreate",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a new Database.\n",
+ "responses": {
+ "201": {
+ "description": "Database",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/database"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "create",
+ "group": "databases",
+ "weight": 70,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "databases.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "databaseId": {
+ "type": "string",
+ "description": "Unique 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.",
+ "x-example": ""
+ },
+ "name": {
+ "type": "string",
+ "description": "Database name. Max length: 128 chars.",
+ "x-example": ""
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "databaseId",
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/usage": {
+ "get": {
+ "summary": "Get databases usage stats",
+ "operationId": "databasesGetUsage",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get usage metrics and statistics for all databases in the project. You can view the total number of databases, collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.",
+ "responses": {
+ "200": {
+ "description": "UsageDatabases",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/usageDatabases"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getUsage",
+ "group": null,
+ "weight": 121,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/get-usage.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-usage.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.read",
+ "platforms": [
+ "console"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "range",
+ "description": "`Date range.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "24h",
+ "enum": [
+ "24h",
+ "30d",
+ "90d"
+ ],
+ "x-enum-name": "DatabaseUsageRange",
+ "x-enum-keys": [
+ "Twenty Four Hours",
+ "Thirty Days",
+ "Ninety Days"
+ ],
+ "default": "30d"
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}": {
+ "get": {
+ "summary": "Get database",
+ "operationId": "databasesGet",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.",
+ "responses": {
+ "200": {
+ "description": "Database",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/database"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "get",
+ "group": "databases",
+ "weight": 72,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/get.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "databases.read",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update database",
+ "operationId": "databasesUpdate",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update a database by its unique ID.",
+ "responses": {
+ "200": {
+ "description": "Database",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/database"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "update",
+ "group": "databases",
+ "weight": 74,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "databases.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Database name. Max length: 128 chars.",
+ "x-example": ""
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete database",
+ "operationId": "databasesDelete",
+ "tags": [
+ "databases"
+ ],
+ "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "delete",
+ "group": "databases",
+ "weight": 75,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/delete.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "databases.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections": {
+ "get": {
+ "summary": "List collections",
+ "operationId": "databasesListCollections",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.",
+ "responses": {
+ "200": {
+ "description": "Collections List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/collectionList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listCollections",
+ "group": "collections",
+ "weight": 77,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/list-collections.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.read",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ },
+ {
+ "name": "search",
+ "description": "Search term to filter your list results. Max length: 256 chars.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "x-example": "",
+ "default": ""
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create collection",
+ "operationId": "databasesCreateCollection",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "responses": {
+ "201": {
+ "description": "Collection",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/collection"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createCollection",
+ "group": "collections",
+ "weight": 76,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-collection.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "collectionId": {
+ "type": "string",
+ "description": "Unique 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.",
+ "x-example": ""
+ },
+ "name": {
+ "type": "string",
+ "description": "Collection name. Max length: 128 chars.",
+ "x-example": ""
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ },
+ "documentSecurity": {
+ "type": "boolean",
+ "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": false
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "collectionId",
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}": {
+ "get": {
+ "summary": "Get collection",
+ "operationId": "databasesGetCollection",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.",
+ "responses": {
+ "200": {
+ "description": "Collection",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/collection"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getCollection",
+ "group": "collections",
+ "weight": 78,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/get-collection.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.read",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Update collection",
+ "operationId": "databasesUpdateCollection",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update a collection by its unique ID.",
+ "responses": {
+ "200": {
+ "description": "Collection",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/collection"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateCollection",
+ "group": "collections",
+ "weight": 80,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-collection.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Collection name. Max length: 128 chars.",
+ "x-example": ""
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ },
+ "documentSecurity": {
+ "type": "boolean",
+ "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": false
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete collection",
+ "operationId": "databasesDeleteCollection",
+ "tags": [
+ "databases"
+ ],
+ "description": "Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteCollection",
+ "group": "collections",
+ "weight": 81,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/delete-collection.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes": {
+ "get": {
+ "summary": "List attributes",
+ "operationId": "databasesListAttributes",
+ "tags": [
+ "databases"
+ ],
+ "description": "List attributes in the collection.",
+ "responses": {
+ "200": {
+ "description": "Attributes List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listAttributes",
+ "group": "attributes",
+ "weight": 92,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/list-attributes.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.read",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean": {
+ "post": {
+ "summary": "Create boolean attribute",
+ "operationId": "databasesCreateBooleanAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a boolean attribute.\n",
+ "responses": {
+ "202": {
+ "description": "AttributeBoolean",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeBoolean"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createBooleanAttribute",
+ "group": "attributes",
+ "weight": 89,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-boolean-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "boolean",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": false
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}": {
+ "patch": {
+ "summary": "Update boolean attribute",
+ "operationId": "databasesUpdateBooleanAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update a boolean attribute. Changing the `default` value will not update already existing documents.",
+ "responses": {
+ "200": {
+ "description": "AttributeBoolean",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeBoolean"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateBooleanAttribute",
+ "group": "attributes",
+ "weight": 101,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-boolean-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "boolean",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": false,
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime": {
+ "post": {
+ "summary": "Create datetime attribute",
+ "operationId": "databasesCreateDatetimeAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a date time attribute according to the ISO 8601 standard.",
+ "responses": {
+ "202": {
+ "description": "AttributeDatetime",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeDatetime"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createDatetimeAttribute",
+ "group": "attributes",
+ "weight": 90,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-datetime-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.",
+ "x-example": null
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}": {
+ "patch": {
+ "summary": "Update dateTime attribute",
+ "operationId": "databasesUpdateDatetimeAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update a date time attribute. Changing the `default` value will not update already existing documents.",
+ "responses": {
+ "200": {
+ "description": "AttributeDatetime",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeDatetime"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateDatetimeAttribute",
+ "group": "attributes",
+ "weight": 102,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-datetime-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": null,
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email": {
+ "post": {
+ "summary": "Create email attribute",
+ "operationId": "databasesCreateEmailAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create an email attribute.\n",
+ "responses": {
+ "202": {
+ "description": "AttributeEmail",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeEmail"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createEmailAttribute",
+ "group": "attributes",
+ "weight": 83,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-email-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": "email@example.com"
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}": {
+ "patch": {
+ "summary": "Update email attribute",
+ "operationId": "databasesUpdateEmailAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update an email attribute. Changing the `default` value will not update already existing documents.\n",
+ "responses": {
+ "200": {
+ "description": "AttributeEmail",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeEmail"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateEmailAttribute",
+ "group": "attributes",
+ "weight": 95,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-email-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": "email@example.com",
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum": {
+ "post": {
+ "summary": "Create enum attribute",
+ "operationId": "databasesCreateEnumAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n",
+ "responses": {
+ "202": {
+ "description": "AttributeEnum",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeEnum"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createEnumAttribute",
+ "group": "attributes",
+ "weight": 84,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-enum-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "elements": {
+ "type": "array",
+ "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.",
+ "x-example": null,
+ "items": {
+ "type": "string"
+ }
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": ""
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "elements",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}": {
+ "patch": {
+ "summary": "Update enum attribute",
+ "operationId": "databasesUpdateEnumAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update an enum attribute. Changing the `default` value will not update already existing documents.\n",
+ "responses": {
+ "200": {
+ "description": "AttributeEnum",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeEnum"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateEnumAttribute",
+ "group": "attributes",
+ "weight": 96,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-enum-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "elements": {
+ "type": "array",
+ "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.",
+ "x-example": null,
+ "items": {
+ "type": "string"
+ }
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": "",
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "elements",
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float": {
+ "post": {
+ "summary": "Create float attribute",
+ "operationId": "databasesCreateFloatAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a float attribute. Optionally, minimum and maximum values can be provided.\n",
+ "responses": {
+ "202": {
+ "description": "AttributeFloat",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeFloat"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createFloatAttribute",
+ "group": "attributes",
+ "weight": 88,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-float-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "min": {
+ "type": "number",
+ "description": "Minimum value to enforce on new documents",
+ "x-example": null
+ },
+ "max": {
+ "type": "number",
+ "description": "Maximum value to enforce on new documents",
+ "x-example": null
+ },
+ "default": {
+ "type": "number",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": null
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}": {
+ "patch": {
+ "summary": "Update float attribute",
+ "operationId": "databasesUpdateFloatAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update a float attribute. Changing the `default` value will not update already existing documents.\n",
+ "responses": {
+ "200": {
+ "description": "AttributeFloat",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeFloat"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateFloatAttribute",
+ "group": "attributes",
+ "weight": 100,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-float-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "min": {
+ "type": "number",
+ "description": "Minimum value to enforce on new documents",
+ "x-example": null
+ },
+ "max": {
+ "type": "number",
+ "description": "Maximum value to enforce on new documents",
+ "x-example": null
+ },
+ "default": {
+ "type": "number",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": null,
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer": {
+ "post": {
+ "summary": "Create integer attribute",
+ "operationId": "databasesCreateIntegerAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create an integer attribute. Optionally, minimum and maximum values can be provided.\n",
+ "responses": {
+ "202": {
+ "description": "AttributeInteger",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeInteger"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createIntegerAttribute",
+ "group": "attributes",
+ "weight": 87,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-integer-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "min": {
+ "type": "integer",
+ "description": "Minimum value to enforce on new documents",
+ "x-example": null
+ },
+ "max": {
+ "type": "integer",
+ "description": "Maximum value to enforce on new documents",
+ "x-example": null
+ },
+ "default": {
+ "type": "integer",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": null
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}": {
+ "patch": {
+ "summary": "Update integer attribute",
+ "operationId": "databasesUpdateIntegerAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update an integer attribute. Changing the `default` value will not update already existing documents.\n",
+ "responses": {
+ "200": {
+ "description": "AttributeInteger",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeInteger"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateIntegerAttribute",
+ "group": "attributes",
+ "weight": 99,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-integer-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "min": {
+ "type": "integer",
+ "description": "Minimum value to enforce on new documents",
+ "x-example": null
+ },
+ "max": {
+ "type": "integer",
+ "description": "Maximum value to enforce on new documents",
+ "x-example": null
+ },
+ "default": {
+ "type": "integer",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": null,
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip": {
+ "post": {
+ "summary": "Create IP address attribute",
+ "operationId": "databasesCreateIpAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create IP address attribute.\n",
+ "responses": {
+ "202": {
+ "description": "AttributeIP",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeIp"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createIpAttribute",
+ "group": "attributes",
+ "weight": 85,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-ip-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": null
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}": {
+ "patch": {
+ "summary": "Update IP address attribute",
+ "operationId": "databasesUpdateIpAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update an ip attribute. Changing the `default` value will not update already existing documents.\n",
+ "responses": {
+ "200": {
+ "description": "AttributeIP",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeIp"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateIpAttribute",
+ "group": "attributes",
+ "weight": 97,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-ip-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": null,
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship": {
+ "post": {
+ "summary": "Create relationship attribute",
+ "operationId": "databasesCreateRelationshipAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n",
+ "responses": {
+ "202": {
+ "description": "AttributeRelationship",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeRelationship"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createRelationshipAttribute",
+ "group": "attributes",
+ "weight": 91,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-relationship-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "relatedCollectionId": {
+ "type": "string",
+ "description": "Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "x-example": ""
+ },
+ "type": {
+ "type": "string",
+ "description": "Relation type",
+ "x-example": "oneToOne",
+ "enum": [
+ "oneToOne",
+ "manyToOne",
+ "manyToMany",
+ "oneToMany"
+ ],
+ "x-enum-name": "RelationshipType",
+ "x-enum-keys": []
+ },
+ "twoWay": {
+ "type": "boolean",
+ "description": "Is Two Way?",
+ "x-example": false
+ },
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "twoWayKey": {
+ "type": "string",
+ "description": "Two Way Attribute Key.",
+ "x-example": null
+ },
+ "onDelete": {
+ "type": "string",
+ "description": "Constraints option",
+ "x-example": "cascade",
+ "enum": [
+ "cascade",
+ "restrict",
+ "setNull"
+ ],
+ "x-enum-name": "RelationMutate",
+ "x-enum-keys": []
+ }
+ },
+ "required": [
+ "relatedCollectionId",
+ "type"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string": {
+ "post": {
+ "summary": "Create string attribute",
+ "operationId": "databasesCreateStringAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a string attribute.\n",
+ "responses": {
+ "202": {
+ "description": "AttributeString",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeString"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createStringAttribute",
+ "group": "attributes",
+ "weight": 82,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-string-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "size": {
+ "type": "integer",
+ "description": "Attribute size for text attributes, in number of characters.",
+ "x-example": 1
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": ""
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ },
+ "encrypt": {
+ "type": "boolean",
+ "description": "Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "size",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}": {
+ "patch": {
+ "summary": "Update string attribute",
+ "operationId": "databasesUpdateStringAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update a string attribute. Changing the `default` value will not update already existing documents.\n",
+ "responses": {
+ "200": {
+ "description": "AttributeString",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeString"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateStringAttribute",
+ "group": "attributes",
+ "weight": 94,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-string-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": "",
+ "x-nullable": true
+ },
+ "size": {
+ "type": "integer",
+ "description": "Maximum size of the string attribute.",
+ "x-example": 1
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url": {
+ "post": {
+ "summary": "Create URL attribute",
+ "operationId": "databasesCreateUrlAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a URL attribute.\n",
+ "responses": {
+ "202": {
+ "description": "AttributeURL",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeUrl"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createUrlAttribute",
+ "group": "attributes",
+ "weight": 86,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-url-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Attribute Key.",
+ "x-example": null
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": "https:\/\/example.com"
+ },
+ "array": {
+ "type": "boolean",
+ "description": "Is attribute an array?",
+ "x-example": false
+ }
+ },
+ "required": [
+ "key",
+ "required"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}": {
+ "patch": {
+ "summary": "Update URL attribute",
+ "operationId": "databasesUpdateUrlAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update an url attribute. Changing the `default` value will not update already existing documents.\n",
+ "responses": {
+ "200": {
+ "description": "AttributeURL",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeUrl"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateUrlAttribute",
+ "group": "attributes",
+ "weight": 98,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-url-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "required": {
+ "type": "boolean",
+ "description": "Is attribute required?",
+ "x-example": false
+ },
+ "default": {
+ "type": "string",
+ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
+ "x-example": "https:\/\/example.com",
+ "x-nullable": true
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ },
+ "required": [
+ "required",
+ "default"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}": {
+ "get": {
+ "summary": "Get attribute",
+ "operationId": "databasesGetAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get attribute by ID.",
+ "responses": {
+ "200": {
+ "description": "AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "$ref": "#\/components\/schemas\/attributeBoolean"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeInteger"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeFloat"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeEmail"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeEnum"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeUrl"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeIp"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeDatetime"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeRelationship"
+ },
+ {
+ "$ref": "#\/components\/schemas\/attributeString"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getAttribute",
+ "group": "attributes",
+ "weight": 93,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/get-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.read",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ]
+ },
+ "delete": {
+ "summary": "Delete attribute",
+ "operationId": "databasesDeleteAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Deletes an attribute.",
+ "responses": {
+ "204": {
+ "description": "No content"
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteAttribute",
+ "group": "attributes",
+ "weight": 104,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/delete-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship": {
+ "patch": {
+ "summary": "Update relationship attribute",
+ "operationId": "databasesUpdateRelationshipAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n",
+ "responses": {
+ "200": {
+ "description": "AttributeRelationship",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/attributeRelationship"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateRelationshipAttribute",
+ "group": "attributes",
+ "weight": 103,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-relationship-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "collections.write",
+ "platforms": [
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "key",
+ "description": "Attribute Key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "onDelete": {
+ "type": "string",
+ "description": "Constraints option",
+ "x-example": "cascade",
+ "enum": [
+ "cascade",
+ "restrict",
+ "setNull"
+ ],
+ "x-enum-name": "RelationMutate",
+ "x-enum-keys": []
+ },
+ "newKey": {
+ "type": "string",
+ "description": "New attribute key.",
+ "x-example": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": {
+ "get": {
+ "summary": "List documents",
+ "operationId": "databasesListDocuments",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.",
+ "responses": {
+ "200": {
+ "description": "Documents List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/documentList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "listDocuments",
+ "group": "documents",
+ "weight": 110,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/list-documents.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "documents.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "post": {
+ "summary": "Create document",
+ "operationId": "databasesCreateDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "responses": {
+ "201": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "createDocument",
+ "group": "documents",
+ "weight": 109,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/create-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "methods": [
+ {
+ "name": "createDocument",
+ "auth": {
+ "Admin": [],
+ "Session": [],
+ "Key": [],
+ "JWT": []
+ },
+ "parameters": [
+ "databaseId",
+ "collectionId",
+ "documentId",
+ "data",
+ "permissions"
+ ],
+ "required": [
+ "databaseId",
+ "collectionId",
+ "documentId",
+ "data"
+ ],
+ "responses": [
+ {
+ "code": 201,
+ "model": "#\/components\/schemas\/document"
+ }
+ ],
+ "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
+ },
+ {
+ "name": "createDocuments",
+ "auth": {
+ "Admin": [],
+ "Key": []
+ },
+ "parameters": [
+ "databaseId",
+ "collectionId",
+ "documents"
+ ],
+ "required": [
+ "databaseId",
+ "collectionId",
+ "documents"
+ ],
+ "responses": [
+ {
+ "code": 201,
+ "model": "#\/components\/schemas\/documentList"
+ }
+ ],
+ "description": "Create new Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
+ }
+ ],
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "documentId": {
+ "type": "string",
+ "description": "Document 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.",
+ "x-example": ""
+ },
+ "data": {
+ "type": "object",
+ "description": "Document data as JSON object.",
+ "x-example": "{}"
+ },
+ "permissions": {
+ "type": "array",
+ "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).",
+ "x-example": "[\"read(\"any\")\"]",
+ "items": {
+ "type": "string"
+ }
+ },
+ "documents": {
+ "type": "array",
+ "description": "Array of documents data as JSON objects.",
+ "x-example": null,
+ "items": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or update documents",
+ "operationId": "databasesUpsertDocuments",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
+ "responses": {
+ "200": {
+ "description": "Documents List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/documentList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "upsertDocuments",
+ "group": "documents",
+ "weight": 118,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/upsert-documents.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "documents": {
+ "type": "array",
+ "description": "Array of document data as JSON objects. May contain partial documents.",
+ "x-example": null,
+ "items": {
+ "type": "object"
+ }
+ }
+ },
+ "required": [
+ "documents"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update documents",
+ "operationId": "databasesUpdateDocuments",
+ "tags": [
+ "databases"
+ ],
+ "description": "Update all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated.",
+ "responses": {
+ "200": {
+ "description": "Documents List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/documentList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "updateDocuments",
+ "group": "documents",
+ "weight": 117,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/update-documents.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "object",
+ "description": "Document data as JSON object. Include only attribute and value pairs to be updated.",
+ "x-example": "{}"
+ },
+ "queries": {
+ "type": "array",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.",
+ "x-example": null,
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete documents",
+ "operationId": "databasesDeleteDocuments",
+ "tags": [
+ "databases"
+ ],
+ "description": "Bulk delete documents using queries, if no queries are passed then all documents are deleted.",
+ "responses": {
+ "200": {
+ "description": "Documents List",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/documentList"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "deleteDocuments",
+ "group": "documents",
+ "weight": 120,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/delete-documents.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md",
+ "rate-limit": 60,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "queries": {
+ "type": "array",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.",
+ "x-example": null,
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": {
+ "get": {
+ "summary": "Get document",
+ "operationId": "databasesGetDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "getDocument",
+ "group": "documents",
+ "weight": 111,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/get-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md",
+ "rate-limit": 0,
+ "rate-time": 3600,
+ "rate-key": "url:{url},ip:{ip}",
+ "scope": "documents.read",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "queries",
+ "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "in": "query"
+ }
+ ]
+ },
+ "put": {
+ "summary": "Upsert document",
+ "operationId": "databasesUpsertDocument",
+ "tags": [
+ "databases"
+ ],
+ "description": "Create or update a Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "upsertDocument",
+ "group": "documents",
+ "weight": 114,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/upsert-document.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "client",
+ "server",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": "