From ac5bc22817a846b5f6b6df9ebf1e0684fbe21de8 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:23:18 +0100 Subject: [PATCH 01/33] feat: ping endpoint --- app/config/collections.php | 22 ++++++++ app/controllers/general.php | 46 ++++++++++++++++ .../Utopia/Response/Model/Project.php | 12 ++++ tests/e2e/General/PingTest.php | 55 +++++++++++++++++++ 4 files changed, 135 insertions(+) create mode 100644 tests/e2e/General/PingTest.php diff --git a/app/config/collections.php b/app/config/collections.php index 1eb286cf8f..4a19915b1b 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -4541,6 +4541,28 @@ $consoleCollections = array_merge([ 'array' => false, 'filters' => [], ], + [ + '$id' => ID::custom('pingCount'), + 'type' => Database::VAR_INTEGER, + 'format' => '', + 'size' => 0, + 'signed' => false, + 'required' => false, + 'default' => 0, + 'array' => false, + 'filters' => [], + ], + [ + '$id' => ID::custom('pingedAt'), + 'type' => Database::VAR_DATETIME, + 'format' => '', + 'size' => 0, + 'signed' => false, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => ['datetime'], + ] ], 'indexes' => [ [ diff --git a/app/controllers/general.php b/app/controllers/general.php index 04554a940e..7395a479a4 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -25,10 +25,12 @@ use Utopia\App; use Utopia\CLI\Console; use Utopia\Config\Config; use Utopia\Database\Database; +use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Helpers\ID; use Utopia\Database\Query; use Utopia\Database\Validator\Authorization; +use Utopia\Database\Validator\UID; use Utopia\Domains\Domain; use Utopia\DSN\DSN; use Utopia\Locale\Locale; @@ -1048,6 +1050,50 @@ App::get('/.well-known/acme-challenge/*') include_once __DIR__ . '/shared/api.php'; include_once __DIR__ . '/shared/api/auth.php'; +App::get('/v1/ping') + ->groups(['api', 'general']) + ->desc('Test the connection between the Appwrite and the SDK.') + ->label('scope', 'public') + ->label('event', 'projects.[projectId].ping') + ->param('projectId', '', new UID(), 'Project unique ID.') + ->inject('response') + ->inject('console') + ->inject('dbForConsole') + ->inject('queueForEvents') + ->action(function (string $projectId, Response $response, Document $project, Database $dbForConsole, Event $queueForEvents) { + if (empty($projectId) || $projectId === 'console') { + throw new AppwriteException(AppwriteException::PROJECT_NOT_FOUND); + } + + Console::log('Ping' . json_encode(['projectId' => $projectId], JSON_PRETTY_PRINT)); + + $project = Authorization::skip(function () use ($dbForConsole, $projectId) { + return $dbForConsole->getDocument('projects', $projectId); + }); + + if ($project->isEmpty()) { + Console::log('Ping' . json_encode($project, JSON_PRETTY_PRINT)); + throw new AppwriteException(AppwriteException::PROJECT_NOT_FOUND); + } + + $pingCount = $project->getAttribute('pingCount', 0) + 1; + $pingedAt = DateTime::now(); + + $project + ->setAttribute('pingCount', $pingCount) + ->setAttribute('pingedAt', $pingedAt); + + Authorization::skip(function () use ($dbForConsole, $project) { + $dbForConsole->updateDocument('projects', $project->getId(), $project); + }); + + $queueForEvents + ->setParam('projectId', $projectId) + ->setPayload($response->output($project, Response::MODEL_PROJECT)); + + $response->text('Pong!'); + }); + App::wildcard() ->groups(['api']) ->label('scope', 'global') diff --git a/src/Appwrite/Utopia/Response/Model/Project.php b/src/Appwrite/Utopia/Response/Model/Project.php index 80214aaa73..e1d0105587 100644 --- a/src/Appwrite/Utopia/Response/Model/Project.php +++ b/src/Appwrite/Utopia/Response/Model/Project.php @@ -234,6 +234,18 @@ class Project extends Model 'default' => '', 'example' => 'tls', ]) + ->addRule('pingCount', [ + 'type' => self::TYPE_INTEGER, + 'description' => 'Number of times the ping was received for this project.', + 'default' => 0, + 'example' => 1, + ]) + ->addRule('pingedAt', [ + 'type' => self::TYPE_DATETIME, + 'description' => 'Last ping datetime in ISO 8601 format.', + 'default' => '', + 'example' => self::TYPE_DATETIME_EXAMPLE, + ]) ; $services = Config::getParam('services', []); diff --git a/tests/e2e/General/PingTest.php b/tests/e2e/General/PingTest.php new file mode 100644 index 0000000000..c1199841fb --- /dev/null +++ b/tests/e2e/General/PingTest.php @@ -0,0 +1,55 @@ +client->call(Client::METHOD_GET, '/ping', [], [ + 'projectId' => $this->getProject()['$id'], + ]); + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertEquals('Pong!', $response['body']); + + // With user session + $response = $this->client->call(Client::METHOD_GET, '/ping', $this->getHeaders(), [ + 'projectId' => $this->getProject()['$id'], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertEquals('Pong!', $response['body']); + + // With API key + $response = $this->client->call(Client::METHOD_GET, '/ping', [ + 'x-appwrite-key' => $this->getProject()['apiKey'], + ], [ + 'projectId' => $this->getProject()['$id'], + ]); + + /** + * Test for FAILURE + */ + // Fake project ID + $response = $this->client->call(Client::METHOD_GET, '/ping', \array_merge([ + 'origin' => 'http://localhost', + ]), [ + 'projectId' => 'fake-project-id', + ]); + + $this->assertEquals(404, $response['headers']['status-code']); + $this->assertNotContains('Pong!', $response['body']); + } +} From a7c0ef3d09627fcc1500f09ead612c80972be728 Mon Sep 17 00:00:00 2001 From: shimon Date: Sun, 6 Oct 2024 20:22:25 +0300 Subject: [PATCH 02/33] remove audits deletion --- app/controllers/api/databases.php | 4 ---- src/Appwrite/Platform/Workers/Databases.php | 17 ----------------- 2 files changed, 21 deletions(-) diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index 9c110647af..47a3468529 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -3733,10 +3733,6 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId/documents/:docu ) ); - $queueForDeletes - ->setType(DELETE_TYPE_AUDIT) - ->setDocument($document); - $queueForEvents ->setParam('databaseId', $databaseId) ->setParam('collectionId', $collection->getId()) diff --git a/src/Appwrite/Platform/Workers/Databases.php b/src/Appwrite/Platform/Workers/Databases.php index 56f5f012e8..128e997066 100644 --- a/src/Appwrite/Platform/Workers/Databases.php +++ b/src/Appwrite/Platform/Workers/Databases.php @@ -492,8 +492,6 @@ class Databases extends Action }); $dbForProject->deleteCollection('database_' . $database->getInternalId()); - - $this->deleteAuditLogsByResource('database/' . $database->getId(), $project, $dbForProject); } /** @@ -549,23 +547,8 @@ class Databases extends Action Query::equal('databaseInternalId', [$databaseInternalId]), Query::equal('collectionInternalId', [$collectionInternalId]) ], $dbForProject); - - $this->deleteAuditLogsByResource('database/' . $databaseId . '/collection/' . $collectionId, $project, $dbForProject); } - /** - * @param string $resource - * @param Document $project - * @param Database $dbForProject - * @return void - * @throws Exception - */ - protected function deleteAuditLogsByResource(string $resource, Document $project, Database $dbForProject): void - { - $this->deleteByGroup(Audit::COLLECTION, [ - Query::equal('resource', [$resource]) - ], $dbForProject); - } /** * @param string $collection collectionID From e06b77cf397c45b18d8de24093f51c3bbd90d7e7 Mon Sep 17 00:00:00 2001 From: shimon Date: Sun, 6 Oct 2024 20:25:51 +0300 Subject: [PATCH 03/33] remove audits deletion --- src/Appwrite/Platform/Workers/Databases.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Appwrite/Platform/Workers/Databases.php b/src/Appwrite/Platform/Workers/Databases.php index 128e997066..f697e7be13 100644 --- a/src/Appwrite/Platform/Workers/Databases.php +++ b/src/Appwrite/Platform/Workers/Databases.php @@ -5,7 +5,6 @@ namespace Appwrite\Platform\Workers; use Appwrite\Event\Event; use Appwrite\Messaging\Adapter\Realtime; use Exception; -use Utopia\Audit\Audit; use Utopia\CLI\Console; use Utopia\Database\Database; use Utopia\Database\Document; From 424f24af04eeea8434788fcde5da559718499d90 Mon Sep 17 00:00:00 2001 From: shimon Date: Sun, 6 Oct 2024 21:02:24 +0300 Subject: [PATCH 04/33] remove resource --- app/controllers/api/databases.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index 47a3468529..72e3c6d464 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -3656,11 +3656,10 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId/documents/:docu ->inject('requestTimestamp') ->inject('response') ->inject('dbForProject') - ->inject('queueForDeletes') ->inject('queueForEvents') ->inject('queueForUsage') ->inject('mode') - ->action(function (string $databaseId, string $collectionId, string $documentId, ?\DateTime $requestTimestamp, Response $response, Database $dbForProject, Delete $queueForDeletes, Event $queueForEvents, Usage $queueForUsage, string $mode) { + ->action(function (string $databaseId, string $collectionId, string $documentId, ?\DateTime $requestTimestamp, Response $response, Database $dbForProject, Event $queueForEvents, Usage $queueForUsage, string $mode) { $database = Authorization::skip(fn () => $dbForProject->getDocument('databases', $databaseId)); $isAPIKey = Auth::isAppUser(Authorization::getRoles()); From fa513d62429c6cd8b4de88f013e415f144e9518c Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 7 Oct 2024 11:06:08 +0300 Subject: [PATCH 05/33] debug --- app/controllers/api/projects.php | 15 +++++++++++++++ app/controllers/general.php | 6 ++++++ app/controllers/shared/api.php | 22 +++++++++++++++++++++- 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 934793410b..ca5d522e37 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -88,7 +88,11 @@ App::post('/v1/projects') ->inject('hooks') ->action(function (string $projectId, string $name, string $teamId, string $region, string $description, string $logo, string $url, string $legalName, string $legalCountry, string $legalState, string $legalCity, string $legalAddress, string $legalTaxId, Request $request, Response $response, Database $dbForConsole, Cache $cache, Group $pools, Hooks $hooks) { + $ctime = time(); + var_dump("[".$region."] - Before getDocument('teams')"); $team = $dbForConsole->getDocument('teams', $teamId); + $diff = time() - $ctime; + var_dump("[".$region."] - After getDocument('teams') : " . $diff . " sec"); if ($team->isEmpty()) { throw new Exception(Exception::TEAM_NOT_FOUND); @@ -145,6 +149,8 @@ App::post('/v1/projects') } try { + $ctime = time(); + var_dump("[".$region."] - Before createDocument('projects')"); $project = $dbForConsole->createDocument('projects', new Document([ '$id' => $projectId, '$permissions' => [ @@ -178,6 +184,10 @@ App::post('/v1/projects') 'search' => implode(' ', [$projectId, $name]), 'database' => $dsn, ])); + + $diff = time() - $ctime; + var_dump("[".$region."] - After createDocument('projects') : " . $diff . " sec"); + } catch (Duplicate) { throw new Exception(Exception::PROJECT_ALREADY_EXISTS); } @@ -229,7 +239,12 @@ App::post('/v1/projects') }, $collection['indexes']); try { + + $ctime = time(); + var_dump("[".$region."] - Before createCollection('".$key."')"); $dbForProject->createCollection($key, $attributes, $indexes); + $diff = time() - $ctime; + var_dump("[".$region."] - After createCollection('".$key."') : " . $diff . " sec"); } catch (Duplicate) { // Collection already exists } diff --git a/app/controllers/general.php b/app/controllers/general.php index 04554a940e..ecaf066176 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -451,6 +451,9 @@ App::init() ->inject('queueForEvents') ->inject('queueForCertificates') ->action(function (App $utopia, SwooleRequest $swooleRequest, Request $request, Response $response, Document $console, Document $project, Database $dbForConsole, callable $getProjectDB, Locale $locale, array $localeCodes, array $clients, Reader $geodb, Usage $queueForUsage, Event $queueForEvents, Certificate $queueForCertificates) { + $ctime = time(); + var_dump("[".$region."] - Before general first init hook"); + /* * Appwrite Router */ @@ -655,6 +658,9 @@ App::init() ) { throw new AppwriteException(AppwriteException::GENERAL_UNKNOWN_ORIGIN, $originValidator->getDescription()); } + + $diff = time() - $ctime; + var_dump("[".$region."] - After general first init hook : " . $diff . " sec"); }); App::options() diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index f0d896c95a..f72672a357 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -162,6 +162,9 @@ App::init() ->inject('mode') ->inject('team') ->action(function (App $utopia, Request $request, Database $dbForConsole, Document $project, Document $user, ?Document $session, array $servers, string $mode, Document $team) { + $ctime = time(); + var_dump("[".$region."] - Before shared api first init hook"); + $route = $utopia->getRoute(); if ($project->isEmpty()) { @@ -344,6 +347,8 @@ App::init() throw new Exception(Exception::USER_MORE_FACTORS_REQUIRED); } } + $diff = time() - $ctime; + var_dump("[".$region."] - After shared api first init hook : " . $diff . " sec"); }); App::init() @@ -363,7 +368,8 @@ App::init() ->inject('dbForProject') ->inject('mode') ->action(function (App $utopia, Request $request, Response $response, Document $project, Document $user, Event $queueForEvents, Messaging $queueForMessaging, Audit $queueForAudits, Delete $queueForDeletes, EventDatabase $queueForDatabase, Build $queueForBuilds, Usage $queueForUsage, Database $dbForProject, string $mode) use ($databaseListener) { - + $ctime = time(); + var_dump("[".$region."] - Before shared api second init hook"); $route = $utopia->getRoute(); if ( @@ -521,6 +527,8 @@ App::init() ; } } + $diff = time() - $ctime; + var_dump("[".$region."] - After shared api first init hook : " . $diff . " sec"); }); App::init() @@ -551,6 +559,10 @@ App::shutdown() ->inject('project') ->inject('dbForProject') ->action(function (App $utopia, Request $request, Response $response, Document $project, Database $dbForProject) { + $ctime = time(); + var_dump("[".$region."] - Before shared api first shutdown hook"); + $route = $utopia->getRoute(); + $sessionLimit = $project->getAttribute('auths', [])['maxSessions'] ?? APP_LIMIT_USER_SESSIONS_DEFAULT; $session = $response->getPayload(); $userId = $session['userId'] ?? ''; @@ -575,6 +587,8 @@ App::shutdown() } $dbForProject->purgeCachedDocument('users', $userId); + $diff = time() - $ctime; + var_dump("[".$region."] - After shared api first shutdown hook : " . $diff . " sec"); }); App::shutdown() @@ -597,6 +611,10 @@ App::shutdown() ->inject('dbForConsole') ->action(function (App $utopia, Request $request, Response $response, Document $project, Document $user, Event $queueForEvents, Audit $queueForAudits, Usage $queueForUsage, Delete $queueForDeletes, EventDatabase $queueForDatabase, Build $queueForBuilds, Messaging $queueForMessaging, Database $dbForProject, Func $queueForFunctions, string $mode, Database $dbForConsole) use ($parseLabel) { + $ctime = time(); + var_dump("[".$region."] - Before shared api second shutdown hook"); + $route = $utopia->getRoute(); + $responsePayload = $response->getPayload(); if (!empty($queueForEvents->getEvent())) { @@ -798,6 +816,8 @@ App::shutdown() } } } + $diff = time() - $ctime; + var_dump("[".$region."] - After shared api second shutdown hook : " . $diff . " sec"); }); App::init() From 4590ae11ee4df4761667968210a2210c412429a6 Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 7 Oct 2024 13:57:02 +0300 Subject: [PATCH 06/33] revert last commit --- app/controllers/api/projects.php | 15 --------------- app/controllers/general.php | 6 ------ app/controllers/shared/api.php | 22 +--------------------- 3 files changed, 1 insertion(+), 42 deletions(-) diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index ca5d522e37..934793410b 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -88,11 +88,7 @@ App::post('/v1/projects') ->inject('hooks') ->action(function (string $projectId, string $name, string $teamId, string $region, string $description, string $logo, string $url, string $legalName, string $legalCountry, string $legalState, string $legalCity, string $legalAddress, string $legalTaxId, Request $request, Response $response, Database $dbForConsole, Cache $cache, Group $pools, Hooks $hooks) { - $ctime = time(); - var_dump("[".$region."] - Before getDocument('teams')"); $team = $dbForConsole->getDocument('teams', $teamId); - $diff = time() - $ctime; - var_dump("[".$region."] - After getDocument('teams') : " . $diff . " sec"); if ($team->isEmpty()) { throw new Exception(Exception::TEAM_NOT_FOUND); @@ -149,8 +145,6 @@ App::post('/v1/projects') } try { - $ctime = time(); - var_dump("[".$region."] - Before createDocument('projects')"); $project = $dbForConsole->createDocument('projects', new Document([ '$id' => $projectId, '$permissions' => [ @@ -184,10 +178,6 @@ App::post('/v1/projects') 'search' => implode(' ', [$projectId, $name]), 'database' => $dsn, ])); - - $diff = time() - $ctime; - var_dump("[".$region."] - After createDocument('projects') : " . $diff . " sec"); - } catch (Duplicate) { throw new Exception(Exception::PROJECT_ALREADY_EXISTS); } @@ -239,12 +229,7 @@ App::post('/v1/projects') }, $collection['indexes']); try { - - $ctime = time(); - var_dump("[".$region."] - Before createCollection('".$key."')"); $dbForProject->createCollection($key, $attributes, $indexes); - $diff = time() - $ctime; - var_dump("[".$region."] - After createCollection('".$key."') : " . $diff . " sec"); } catch (Duplicate) { // Collection already exists } diff --git a/app/controllers/general.php b/app/controllers/general.php index ecaf066176..04554a940e 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -451,9 +451,6 @@ App::init() ->inject('queueForEvents') ->inject('queueForCertificates') ->action(function (App $utopia, SwooleRequest $swooleRequest, Request $request, Response $response, Document $console, Document $project, Database $dbForConsole, callable $getProjectDB, Locale $locale, array $localeCodes, array $clients, Reader $geodb, Usage $queueForUsage, Event $queueForEvents, Certificate $queueForCertificates) { - $ctime = time(); - var_dump("[".$region."] - Before general first init hook"); - /* * Appwrite Router */ @@ -658,9 +655,6 @@ App::init() ) { throw new AppwriteException(AppwriteException::GENERAL_UNKNOWN_ORIGIN, $originValidator->getDescription()); } - - $diff = time() - $ctime; - var_dump("[".$region."] - After general first init hook : " . $diff . " sec"); }); App::options() diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index f72672a357..f0d896c95a 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -162,9 +162,6 @@ App::init() ->inject('mode') ->inject('team') ->action(function (App $utopia, Request $request, Database $dbForConsole, Document $project, Document $user, ?Document $session, array $servers, string $mode, Document $team) { - $ctime = time(); - var_dump("[".$region."] - Before shared api first init hook"); - $route = $utopia->getRoute(); if ($project->isEmpty()) { @@ -347,8 +344,6 @@ App::init() throw new Exception(Exception::USER_MORE_FACTORS_REQUIRED); } } - $diff = time() - $ctime; - var_dump("[".$region."] - After shared api first init hook : " . $diff . " sec"); }); App::init() @@ -368,8 +363,7 @@ App::init() ->inject('dbForProject') ->inject('mode') ->action(function (App $utopia, Request $request, Response $response, Document $project, Document $user, Event $queueForEvents, Messaging $queueForMessaging, Audit $queueForAudits, Delete $queueForDeletes, EventDatabase $queueForDatabase, Build $queueForBuilds, Usage $queueForUsage, Database $dbForProject, string $mode) use ($databaseListener) { - $ctime = time(); - var_dump("[".$region."] - Before shared api second init hook"); + $route = $utopia->getRoute(); if ( @@ -527,8 +521,6 @@ App::init() ; } } - $diff = time() - $ctime; - var_dump("[".$region."] - After shared api first init hook : " . $diff . " sec"); }); App::init() @@ -559,10 +551,6 @@ App::shutdown() ->inject('project') ->inject('dbForProject') ->action(function (App $utopia, Request $request, Response $response, Document $project, Database $dbForProject) { - $ctime = time(); - var_dump("[".$region."] - Before shared api first shutdown hook"); - $route = $utopia->getRoute(); - $sessionLimit = $project->getAttribute('auths', [])['maxSessions'] ?? APP_LIMIT_USER_SESSIONS_DEFAULT; $session = $response->getPayload(); $userId = $session['userId'] ?? ''; @@ -587,8 +575,6 @@ App::shutdown() } $dbForProject->purgeCachedDocument('users', $userId); - $diff = time() - $ctime; - var_dump("[".$region."] - After shared api first shutdown hook : " . $diff . " sec"); }); App::shutdown() @@ -611,10 +597,6 @@ App::shutdown() ->inject('dbForConsole') ->action(function (App $utopia, Request $request, Response $response, Document $project, Document $user, Event $queueForEvents, Audit $queueForAudits, Usage $queueForUsage, Delete $queueForDeletes, EventDatabase $queueForDatabase, Build $queueForBuilds, Messaging $queueForMessaging, Database $dbForProject, Func $queueForFunctions, string $mode, Database $dbForConsole) use ($parseLabel) { - $ctime = time(); - var_dump("[".$region."] - Before shared api second shutdown hook"); - $route = $utopia->getRoute(); - $responsePayload = $response->getPayload(); if (!empty($queueForEvents->getEvent())) { @@ -816,8 +798,6 @@ App::shutdown() } } } - $diff = time() - $ctime; - var_dump("[".$region."] - After shared api second shutdown hook : " . $diff . " sec"); }); App::init() From 6dab42e59a793b6b570b97dabb7fe5f9cc1712fc Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:00:19 +0100 Subject: [PATCH 07/33] chore: use project injectable --- app/controllers/general.php | 14 +------ tests/e2e/General/PingTest.php | 19 ++++----- .../Realtime/RealtimeConsoleClientTest.php | 40 +++++++++++++++++++ 3 files changed, 50 insertions(+), 23 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index 7395a479a4..227745b028 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -1061,18 +1061,7 @@ App::get('/v1/ping') ->inject('dbForConsole') ->inject('queueForEvents') ->action(function (string $projectId, Response $response, Document $project, Database $dbForConsole, Event $queueForEvents) { - if (empty($projectId) || $projectId === 'console') { - throw new AppwriteException(AppwriteException::PROJECT_NOT_FOUND); - } - - Console::log('Ping' . json_encode(['projectId' => $projectId], JSON_PRETTY_PRINT)); - - $project = Authorization::skip(function () use ($dbForConsole, $projectId) { - return $dbForConsole->getDocument('projects', $projectId); - }); - if ($project->isEmpty()) { - Console::log('Ping' . json_encode($project, JSON_PRETTY_PRINT)); throw new AppwriteException(AppwriteException::PROJECT_NOT_FOUND); } @@ -1081,13 +1070,14 @@ App::get('/v1/ping') $project ->setAttribute('pingCount', $pingCount) - ->setAttribute('pingedAt', $pingedAt); + ->setAttribute('pingedAt', $pingedAt); Authorization::skip(function () use ($dbForConsole, $project) { $dbForConsole->updateDocument('projects', $project->getId(), $project); }); $queueForEvents + ->setProject($project) ->setParam('projectId', $projectId) ->setPayload($response->output($project, Response::MODEL_PROJECT)); diff --git a/tests/e2e/General/PingTest.php b/tests/e2e/General/PingTest.php index c1199841fb..96db658cc3 100644 --- a/tests/e2e/General/PingTest.php +++ b/tests/e2e/General/PingTest.php @@ -18,25 +18,24 @@ class PingTest extends Scope * Test for SUCCESS */ // Without user session - $response = $this->client->call(Client::METHOD_GET, '/ping', [], [ - 'projectId' => $this->getProject()['$id'], + $response = $this->client->call(Client::METHOD_GET, '/ping', [ + 'x-appwrite-project' => $this->getProject()['$id'], ]); $this->assertEquals(200, $response['headers']['status-code']); $this->assertEquals('Pong!', $response['body']); // With user session - $response = $this->client->call(Client::METHOD_GET, '/ping', $this->getHeaders(), [ - 'projectId' => $this->getProject()['$id'], - ]); + $response = $this->client->call(Client::METHOD_GET, '/ping', array_merge([ + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); $this->assertEquals(200, $response['headers']['status-code']); $this->assertEquals('Pong!', $response['body']); // With API key $response = $this->client->call(Client::METHOD_GET, '/ping', [ + 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-key' => $this->getProject()['apiKey'], - ], [ - 'projectId' => $this->getProject()['$id'], ]); /** @@ -44,10 +43,8 @@ class PingTest extends Scope */ // Fake project ID $response = $this->client->call(Client::METHOD_GET, '/ping', \array_merge([ - 'origin' => 'http://localhost', - ]), [ - 'projectId' => 'fake-project-id', - ]); + 'x-appwrite-project' => 'fake-project-id', + ], $this->getHeaders())); $this->assertEquals(404, $response['headers']['status-code']); $this->assertNotContains('Pong!', $response['body']); diff --git a/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php b/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php index 60c96c6e19..4bb9d8711e 100644 --- a/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php +++ b/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php @@ -478,6 +478,46 @@ class RealtimeConsoleClientTest extends Scope $client->close(); } + public function testPing() + { + $client = $this->getWebsocket(['console'], [ + 'origin' => 'http://localhost', + 'cookie' => 'a_session_console=' . $this->getRoot()['session'], + ], 'console'); + + $response = json_decode($client->receive(), true); + + $this->assertArrayHasKey('type', $response); + $this->assertEquals('connected', $response['type']); + + fwrite(STDOUT, 'Project ID: ' . $this->getProject()['$id'] . "\n"); + + $pong = $this->client->call(Client::METHOD_GET, '/ping', [ + 'origin' => 'http://localhost', + 'x-appwrite-project' => $this->getProject()['$id'], + ]); + + $this->assertEquals(200, $pong['headers']['status-code']); + $this->assertEquals('Pong!', $pong['body']); + + $response = json_decode($client->receive(), true); + + $this->assertArrayHasKey('type', $response); + $this->assertEquals('event', $response['type']); + $this->assertNotEmpty($response['data']); + $this->assertArrayHasKey('timestamp', $response['data']); + $this->assertCount(1, $response['data']['channels']); + $this->assertContains('console', $response['data']['channels']); + $this->assertContains("projects.{$this->getProject()['$id']}", $response['data']['channels']); + $this->assertContains("projects.{$this->getProject()['$id']}.ping", $response['data']['events']); + $this->assertNotEmpty($response['data']['payload']); + $this->assertArrayHasKey('pingCount', $response['data']['payload']); + $this->assertArrayHasKey('pingedAt', $response['data']['payload']); + $this->assertEquals(1, $response['data']['payload']['pingCount']); + + $client->close(); + } + public function testCreateDeployment() { $response1 = $this->client->call(Client::METHOD_POST, '/functions', array_merge([ From e0bd500aa2f3ea2c07b82da0bead285a0f1c645c Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:58:34 +0100 Subject: [PATCH 08/33] fix: realtime event --- app/controllers/general.php | 11 ++++------- src/Appwrite/Messaging/Adapter/Realtime.php | 6 ++++++ tests/e2e/General/PingTest.php | 3 +++ .../Services/Realtime/RealtimeConsoleClientTest.php | 4 +--- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index 227745b028..bd49872436 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -30,7 +30,6 @@ use Utopia\Database\Document; use Utopia\Database\Helpers\ID; use Utopia\Database\Query; use Utopia\Database\Validator\Authorization; -use Utopia\Database\Validator\UID; use Utopia\Domains\Domain; use Utopia\DSN\DSN; use Utopia\Locale\Locale; @@ -1053,14 +1052,13 @@ include_once __DIR__ . '/shared/api/auth.php'; App::get('/v1/ping') ->groups(['api', 'general']) ->desc('Test the connection between the Appwrite and the SDK.') - ->label('scope', 'public') + ->label('scope', 'global') ->label('event', 'projects.[projectId].ping') - ->param('projectId', '', new UID(), 'Project unique ID.') ->inject('response') - ->inject('console') + ->inject('project') ->inject('dbForConsole') ->inject('queueForEvents') - ->action(function (string $projectId, Response $response, Document $project, Database $dbForConsole, Event $queueForEvents) { + ->action(function (Response $response, Document $project, Database $dbForConsole, Event $queueForEvents) { if ($project->isEmpty()) { throw new AppwriteException(AppwriteException::PROJECT_NOT_FOUND); } @@ -1077,8 +1075,7 @@ App::get('/v1/ping') }); $queueForEvents - ->setProject($project) - ->setParam('projectId', $projectId) + ->setParam('projectId', $project->getId()) ->setPayload($response->output($project, Response::MODEL_PROJECT)); $response->text('Pong!'); diff --git a/src/Appwrite/Messaging/Adapter/Realtime.php b/src/Appwrite/Messaging/Adapter/Realtime.php index d0d4a7c725..c437d4d487 100644 --- a/src/Appwrite/Messaging/Adapter/Realtime.php +++ b/src/Appwrite/Messaging/Adapter/Realtime.php @@ -270,6 +270,12 @@ class Realtime extends Adapter $projectId = 'console'; $roles = [Role::team($project->getAttribute('teamId'))->toString()]; break; + case 'projects': + $channels[] = 'console'; + $channels[] = 'projects.' . $parts[1]; + $projectId = 'console'; + $roles = [Role::team($project->getAttribute('teamId'))->toString()]; + break; case 'teams': if ($parts[2] === 'memberships') { $permissionsChanged = $parts[4] ?? false; diff --git a/tests/e2e/General/PingTest.php b/tests/e2e/General/PingTest.php index 96db658cc3..e41bac6736 100644 --- a/tests/e2e/General/PingTest.php +++ b/tests/e2e/General/PingTest.php @@ -38,6 +38,9 @@ class PingTest extends Scope 'x-appwrite-key' => $this->getProject()['apiKey'], ]); + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertEquals('Pong!', $response['body']); + /** * Test for FAILURE */ diff --git a/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php b/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php index 4bb9d8711e..0155d251f2 100644 --- a/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php +++ b/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php @@ -490,8 +490,6 @@ class RealtimeConsoleClientTest extends Scope $this->assertArrayHasKey('type', $response); $this->assertEquals('connected', $response['type']); - fwrite(STDOUT, 'Project ID: ' . $this->getProject()['$id'] . "\n"); - $pong = $this->client->call(Client::METHOD_GET, '/ping', [ 'origin' => 'http://localhost', 'x-appwrite-project' => $this->getProject()['$id'], @@ -506,7 +504,7 @@ class RealtimeConsoleClientTest extends Scope $this->assertEquals('event', $response['type']); $this->assertNotEmpty($response['data']); $this->assertArrayHasKey('timestamp', $response['data']); - $this->assertCount(1, $response['data']['channels']); + $this->assertCount(2, $response['data']['channels']); $this->assertContains('console', $response['data']['channels']); $this->assertContains("projects.{$this->getProject()['$id']}", $response['data']['channels']); $this->assertContains("projects.{$this->getProject()['$id']}.ping", $response['data']['events']); From be1cada848d36dae0994ac7047b2e25a9843a0cc Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 8 Oct 2024 14:17:34 +1300 Subject: [PATCH 09/33] Fix specs --- app/config/specs/open-api3-1.6.x-client.json | 2 +- app/config/specs/open-api3-1.6.x-console.json | 2 +- app/config/specs/open-api3-1.6.x-server.json | 2 +- app/config/specs/swagger2-1.6.x-client.json | 114 +++++++++--------- app/config/specs/swagger2-1.6.x-console.json | 114 +++++++++--------- app/config/specs/swagger2-1.6.x-server.json | 114 +++++++++--------- app/controllers/api/functions.php | 2 +- 7 files changed, 166 insertions(+), 184 deletions(-) diff --git a/app/config/specs/open-api3-1.6.x-client.json b/app/config/specs/open-api3-1.6.x-client.json index 8a9967090d..c655ef3581 100644 --- a/app/config/specs/open-api3-1.6.x-client.json +++ b/app/config/specs/open-api3-1.6.x-client.json @@ -5084,7 +5084,7 @@ "body": { "type": "string", "description": "HTTP body of execution. Default value is empty string.", - "x-example": null + "x-example": "" }, "async": { "type": "boolean", diff --git a/app/config/specs/open-api3-1.6.x-console.json b/app/config/specs/open-api3-1.6.x-console.json index 07749889d8..667a88effc 100644 --- a/app/config/specs/open-api3-1.6.x-console.json +++ b/app/config/specs/open-api3-1.6.x-console.json @@ -11054,7 +11054,7 @@ "body": { "type": "string", "description": "HTTP body of execution. Default value is empty string.", - "x-example": null + "x-example": "" }, "async": { "type": "boolean", diff --git a/app/config/specs/open-api3-1.6.x-server.json b/app/config/specs/open-api3-1.6.x-server.json index ef41688ca8..74f22a7e40 100644 --- a/app/config/specs/open-api3-1.6.x-server.json +++ b/app/config/specs/open-api3-1.6.x-server.json @@ -9941,7 +9941,7 @@ "body": { "type": "string", "description": "HTTP body of execution. Default value is empty string.", - "x-example": null + "x-example": "" }, "async": { "type": "boolean", diff --git a/app/config/specs/swagger2-1.6.x-client.json b/app/config/specs/swagger2-1.6.x-client.json index ce9ea857bb..0f9b3bef2f 100644 --- a/app/config/specs/swagger2-1.6.x-client.json +++ b/app/config/specs/swagger2-1.6.x-client.json @@ -5167,7 +5167,7 @@ "summary": "Create execution", "operationId": "functionsCreateExecution", "consumes": [ - "multipart\/form-data" + "application\/json" ], "produces": [ "multipart\/form-data" @@ -5226,65 +5226,59 @@ "in": "path" }, { - "name": "body", - "description": "HTTP body of execution. Default value is empty string.", - "required": false, - "type": "payload", - "default": "", - "in": "formData" - }, - { - "name": "async", - "description": "Execute code in the background. Default value is false.", - "required": false, - "type": "boolean", - "x-example": false, - "default": false, - "in": "formData" - }, - { - "name": "path", - "description": "HTTP path of execution. Path can include query params. Default value is \/", - "required": false, - "type": "string", - "x-example": "", - "default": "\/", - "in": "formData" - }, - { - "name": "method", - "description": "HTTP method of execution. Default value is GET.", - "required": false, - "type": "string", - "x-example": "GET", - "enum": [ - "GET", - "POST", - "PUT", - "PATCH", - "DELETE", - "OPTIONS" - ], - "x-enum-name": "ExecutionMethod", - "x-enum-keys": [], - "default": "POST", - "in": "formData" - }, - { - "name": "headers", - "description": "HTTP headers of execution. Defaults to empty.", - "required": false, - "type": "object", - "default": [], - "x-example": "{}", - "in": "formData" - }, - { - "name": "scheduledAt", - "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.", - "required": false, - "type": "string", - "in": "formData" + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "default": "", + "x-example": "" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "default": false, + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "default": "\/", + "x-example": "" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "default": "POST", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "object", + "description": "HTTP headers of execution. Defaults to empty.", + "default": [], + "x-example": "{}" + }, + "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.", + "default": null, + "x-example": null + } + } + } } ] } diff --git a/app/config/specs/swagger2-1.6.x-console.json b/app/config/specs/swagger2-1.6.x-console.json index 51935a5e01..658718901d 100644 --- a/app/config/specs/swagger2-1.6.x-console.json +++ b/app/config/specs/swagger2-1.6.x-console.json @@ -11131,7 +11131,7 @@ "summary": "Create execution", "operationId": "functionsCreateExecution", "consumes": [ - "multipart\/form-data" + "application\/json" ], "produces": [ "multipart\/form-data" @@ -11190,65 +11190,59 @@ "in": "path" }, { - "name": "body", - "description": "HTTP body of execution. Default value is empty string.", - "required": false, - "type": "payload", - "default": "", - "in": "formData" - }, - { - "name": "async", - "description": "Execute code in the background. Default value is false.", - "required": false, - "type": "boolean", - "x-example": false, - "default": false, - "in": "formData" - }, - { - "name": "path", - "description": "HTTP path of execution. Path can include query params. Default value is \/", - "required": false, - "type": "string", - "x-example": "", - "default": "\/", - "in": "formData" - }, - { - "name": "method", - "description": "HTTP method of execution. Default value is GET.", - "required": false, - "type": "string", - "x-example": "GET", - "enum": [ - "GET", - "POST", - "PUT", - "PATCH", - "DELETE", - "OPTIONS" - ], - "x-enum-name": "ExecutionMethod", - "x-enum-keys": [], - "default": "POST", - "in": "formData" - }, - { - "name": "headers", - "description": "HTTP headers of execution. Defaults to empty.", - "required": false, - "type": "object", - "default": [], - "x-example": "{}", - "in": "formData" - }, - { - "name": "scheduledAt", - "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.", - "required": false, - "type": "string", - "in": "formData" + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "default": "", + "x-example": "" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "default": false, + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "default": "\/", + "x-example": "" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "default": "POST", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "object", + "description": "HTTP headers of execution. Defaults to empty.", + "default": [], + "x-example": "{}" + }, + "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.", + "default": null, + "x-example": null + } + } + } } ] } diff --git a/app/config/specs/swagger2-1.6.x-server.json b/app/config/specs/swagger2-1.6.x-server.json index af6274226f..918a0b3b1d 100644 --- a/app/config/specs/swagger2-1.6.x-server.json +++ b/app/config/specs/swagger2-1.6.x-server.json @@ -10022,7 +10022,7 @@ "summary": "Create execution", "operationId": "functionsCreateExecution", "consumes": [ - "multipart\/form-data" + "application\/json" ], "produces": [ "multipart\/form-data" @@ -10083,65 +10083,59 @@ "in": "path" }, { - "name": "body", - "description": "HTTP body of execution. Default value is empty string.", - "required": false, - "type": "payload", - "default": "", - "in": "formData" - }, - { - "name": "async", - "description": "Execute code in the background. Default value is false.", - "required": false, - "type": "boolean", - "x-example": false, - "default": false, - "in": "formData" - }, - { - "name": "path", - "description": "HTTP path of execution. Path can include query params. Default value is \/", - "required": false, - "type": "string", - "x-example": "", - "default": "\/", - "in": "formData" - }, - { - "name": "method", - "description": "HTTP method of execution. Default value is GET.", - "required": false, - "type": "string", - "x-example": "GET", - "enum": [ - "GET", - "POST", - "PUT", - "PATCH", - "DELETE", - "OPTIONS" - ], - "x-enum-name": "ExecutionMethod", - "x-enum-keys": [], - "default": "POST", - "in": "formData" - }, - { - "name": "headers", - "description": "HTTP headers of execution. Defaults to empty.", - "required": false, - "type": "object", - "default": [], - "x-example": "{}", - "in": "formData" - }, - { - "name": "scheduledAt", - "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.", - "required": false, - "type": "string", - "in": "formData" + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "default": "", + "x-example": "" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "default": false, + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "default": "\/", + "x-example": "" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "default": "POST", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "object", + "description": "HTTP headers of execution. Defaults to empty.", + "default": [], + "x-example": "{}" + }, + "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.", + "default": null, + "x-example": null + } + } + } } ] } diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 6e429fd8cf..55b62810f4 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -1717,7 +1717,7 @@ App::post('/v1/functions/:functionId/executions') ->label('sdk.response.model', Response::MODEL_EXECUTION) ->label('sdk.request.type', Response::CONTENT_TYPE_JSON) ->param('functionId', '', new UID(), 'Function ID.') - ->param('body', '', new Payload(10485760, 0), 'HTTP body of execution. Default value is empty string.', true) + ->param('body', '', new Text(10485760, 0), 'HTTP body of execution. Default value is empty string.', true) ->param('async', false, new Boolean(), 'Execute code in the background. Default value is false.', true) ->param('path', '/', new Text(2048), 'HTTP path of execution. Path can include query params. Default value is /', true) ->param('method', 'POST', new Whitelist(['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'], true), 'HTTP method of execution. Default value is GET.', true) From eea9e229237a84e592b1a868016d289a117b2069 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 8 Oct 2024 14:17:49 +1300 Subject: [PATCH 10/33] Release ruby --- app/config/platforms.php | 2 +- composer.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index 40cea19fd3..d14c930279 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -321,7 +321,7 @@ return [ [ 'key' => 'ruby', 'name' => 'Ruby', - 'version' => '12.1.0', + 'version' => '12.1.1', 'url' => 'https://github.com/appwrite/sdk-for-ruby', 'package' => 'https://rubygems.org/gems/appwrite', 'enabled' => true, diff --git a/composer.lock b/composer.lock index 147800df32..0b78df3532 100644 --- a/composer.lock +++ b/composer.lock @@ -2993,16 +2993,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.39.21", + "version": "0.39.23", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "9754b190d33aaad56fdb8defc94f90248184c5ac" + "reference": "0acceabb7593c9c07c5db85a84a5ebac60896763" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/9754b190d33aaad56fdb8defc94f90248184c5ac", - "reference": "9754b190d33aaad56fdb8defc94f90248184c5ac", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/0acceabb7593c9c07c5db85a84a5ebac60896763", + "reference": "0acceabb7593c9c07c5db85a84a5ebac60896763", "shasum": "" }, "require": { @@ -3038,9 +3038,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.39.21" + "source": "https://github.com/appwrite/sdk-generator/tree/0.39.23" }, - "time": "2024-09-10T08:49:29+00:00" + "time": "2024-10-08T00:38:57+00:00" }, { "name": "doctrine/annotations", From 03dd5a15799121836fd2204036d0ef5239f824bd Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 8 Oct 2024 14:17:58 +1300 Subject: [PATCH 11/33] Fix versions --- app/config/platforms.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index d14c930279..907c01b237 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -15,7 +15,7 @@ return [ [ 'key' => 'web', 'name' => 'Web', - 'version' => '16.0.0', + 'version' => '16.0.2', 'url' => 'https://github.com/appwrite/sdk-for-web', 'package' => 'https://www.npmjs.com/package/appwrite', 'enabled' => true, @@ -285,7 +285,7 @@ return [ [ 'key' => 'php', 'name' => 'PHP', - 'version' => '12.0.0', + 'version' => '12.1.0', 'url' => 'https://github.com/appwrite/sdk-for-php', 'package' => 'https://packagist.org/packages/appwrite/appwrite', 'enabled' => true, @@ -357,7 +357,7 @@ return [ [ 'key' => 'dotnet', 'name' => '.NET', - 'version' => '0.10.0', + 'version' => '0.10.1', 'url' => 'https://github.com/appwrite/sdk-for-dotnet', 'package' => 'https://www.nuget.org/packages/Appwrite', 'enabled' => true, From ba24b668c981de7d7aeaebb0a74946220f817243 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 8 Oct 2024 14:43:06 +1300 Subject: [PATCH 12/33] Lint --- app/controllers/api/functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 76e731a177..f1e8d82a9b 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -11,7 +11,6 @@ use Appwrite\Event\Validator\FunctionEvent; use Appwrite\Extend\Exception; use Appwrite\Extend\Exception as AppwriteException; use Appwrite\Functions\Validator\Headers; -use Appwrite\Functions\Validator\Payload; use Appwrite\Functions\Validator\RuntimeSpecification; use Appwrite\Messaging\Adapter\Realtime; use Appwrite\Platform\Tasks\ScheduleExecutions; From 5287e70f9ab0c14984636c696f60bb97af7e987b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 8 Oct 2024 16:20:04 +0200 Subject: [PATCH 13/33] Add new runtimes --- app/config/function-templates.php | 11 ++++++++--- composer.json | 2 +- composer.lock | 14 +++++++------- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/app/config/function-templates.php b/app/config/function-templates.php index db26ff2c19..7254c602cd 100644 --- a/app/config/function-templates.php +++ b/app/config/function-templates.php @@ -3,7 +3,7 @@ const TEMPLATE_RUNTIMES = [ 'NODE' => [ 'name' => 'node', - 'versions' => ['21.0', '20.0', '19.0', '18.0', '16.0', '14.5'] + 'versions' => ['22.0', '21.0', '20.0', '19.0', '18.0', '16.0', '14.5'] ], 'PYTHON' => [ 'name' => 'python', @@ -11,7 +11,7 @@ const TEMPLATE_RUNTIMES = [ ], 'DART' => [ 'name' => 'dart', - 'versions' => ['3.3', '3.1', '3.0', '2.19', '2.18', '2.17', '2.16', '2.16'] + 'versions' => ['3.5', '3.3', '3.1', '3.0', '2.19', '2.18', '2.17', '2.16', '2.16'] ], 'GO' => [ 'name' => 'go', @@ -23,12 +23,16 @@ const TEMPLATE_RUNTIMES = [ ], 'BUN' => [ 'name' => 'bun', - 'versions' => ['1.0'] + 'versions' => ['1.1', '1.0'] ], 'RUBY' => [ 'name' => 'ruby', 'versions' => ['3.3', '3.2', '3.1', '3.0'] ], + 'DENO' => [ + 'name' => 'deno', + 'versions' => ['2.0', '1.46', '1.40', '1.35', '1.24', '1.21'] + ], ]; function getRuntimes($runtime, $commands, $entrypoint, $providerRootDirectory, $versionsDenyList = []) @@ -75,6 +79,7 @@ return [ ), ...getRuntimes(TEMPLATE_RUNTIMES['BUN'], 'bun install', 'src/main.ts', 'bun/starter'), ...getRuntimes(TEMPLATE_RUNTIMES['RUBY'], 'bundle install', 'lib/main.rb', 'ruby/starter'), + ...getRuntimes(TEMPLATE_RUNTIMES['DENO'], 'deno cache src/main.ts', 'src/main.ts', 'deno/starter'), ], 'instructions' => 'For documentation and instructions check out file.', 'vcsProvider' => 'github', diff --git a/composer.json b/composer.json index 50881bec87..e7c7743da7 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "ext-openssl": "*", "ext-zlib": "*", "ext-sockets": "*", - "appwrite/php-runtimes": "0.15.*", + "appwrite/php-runtimes": "0.16.*", "appwrite/php-clamav": "2.0.*", "utopia-php/abuse": "0.43.0", "utopia-php/analytics": "0.10.*", diff --git a/composer.lock b/composer.lock index bba2391d2c..a70e681ccc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a81b2ddbd465059b986947b63435e2bc", + "content-hash": "89ebc75f08cd9ee5a5cccd64d0f9938a", "packages": [ { "name": "adhocore/jwt", @@ -157,16 +157,16 @@ }, { "name": "appwrite/php-runtimes", - "version": "0.15.0", + "version": "0.16.0", "source": { "type": "git", "url": "https://github.com/appwrite/runtimes.git", - "reference": "68ea5bcc24c513a6d641ddf9412bbab13e5dfb94" + "reference": "0ccc89e5ed2d2fec757139a50626179b76c579d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/runtimes/zipball/68ea5bcc24c513a6d641ddf9412bbab13e5dfb94", - "reference": "68ea5bcc24c513a6d641ddf9412bbab13e5dfb94", + "url": "https://api.github.com/repos/appwrite/runtimes/zipball/0ccc89e5ed2d2fec757139a50626179b76c579d9", + "reference": "0ccc89e5ed2d2fec757139a50626179b76c579d9", "shasum": "" }, "require": { @@ -206,9 +206,9 @@ ], "support": { "issues": "https://github.com/appwrite/runtimes/issues", - "source": "https://github.com/appwrite/runtimes/tree/0.15.0" + "source": "https://github.com/appwrite/runtimes/tree/0.16.0" }, - "time": "2024-08-21T10:23:45+00:00" + "time": "2024-10-08T12:49:05+00:00" }, { "name": "beberlei/assert", From d38383bf7893abd35392dcf3369bcbcf99cb31bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 8 Oct 2024 18:16:38 +0200 Subject: [PATCH 14/33] Upgrade console SDK version --- app/config/platforms.php | 2 +- src/Appwrite/Utopia/Response/Model/Execution.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index e7eb1180cd..deac92ddee 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -199,7 +199,7 @@ return [ [ 'key' => 'web', 'name' => 'Console', - 'version' => '1.1.0', + 'version' => '1.2.1', 'url' => 'https://github.com/appwrite/sdk-for-console', 'package' => '', 'enabled' => true, diff --git a/src/Appwrite/Utopia/Response/Model/Execution.php b/src/Appwrite/Utopia/Response/Model/Execution.php index dc5d41c02c..80b65af696 100644 --- a/src/Appwrite/Utopia/Response/Model/Execution.php +++ b/src/Appwrite/Utopia/Response/Model/Execution.php @@ -81,7 +81,7 @@ class Execution extends Model 'example' => 200, ]) ->addRule('responseBody', [ - 'type' => self::TYPE_PAYLOAD, + 'type' => self::TYPE_STRING, 'description' => 'HTTP response body. This will return empty unless execution is created as synchronous.', 'default' => '', ]) From 5524fdb7b68c28c6f2857f279e6ec2ec66bbad85 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Tue, 8 Oct 2024 18:48:11 +0100 Subject: [PATCH 15/33] fix: cache-docker --- .github/workflows/tests.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6e7012527d..a733814dfb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,6 @@ concurrency: env: IMAGE: appwrite-dev - CACHE_KEY: appwrite-dev-${{ github.event.pull_request.head.sha }} on: [pull_request] @@ -30,8 +29,8 @@ jobs: push: false tags: ${{ env.IMAGE }} load: true - cache-from: type=gha,scope=appwrite - cache-to: type=gha,mode=max,scope=appwrite + cache-from: type=gha,scope=${{ env.CACHE_KEY }} + cache-to: type=gha,mode=max,scope=${{ env.CACHE_KEY }} outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar build-args: | DEBUG=false @@ -41,9 +40,7 @@ jobs: - name: Cache Docker Image uses: actions/cache@v4 with: - key: ${{ env.CACHE_KEY }} - restore-keys: | - appwrite-dev- + key: appwrite-dev-${{ hashFiles('**') }} path: /tmp/${{ env.IMAGE }}.tar unit_test: @@ -58,7 +55,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: ${{ env.CACHE_KEY }} + key: appwrite-dev-${{ hashFiles('**') }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true @@ -88,7 +85,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: ${{ env.CACHE_KEY }} + key: appwrite-dev-${{ hashFiles('**') }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true @@ -136,7 +133,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: ${{ env.CACHE_KEY }} + key: appwrite-dev-${{ hashFiles('**') }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true @@ -162,7 +159,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: ${{ env.CACHE_KEY }} + key: appwrite-dev-${{ hashFiles('**') }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true - name: Load and Start Appwrite From a63acb7f231399bdf939f8210cbb2bc71ffd7f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 8 Oct 2024 21:11:25 +0200 Subject: [PATCH 16/33] Revert unwanted changes --- src/Appwrite/Utopia/Response/Model/Execution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Utopia/Response/Model/Execution.php b/src/Appwrite/Utopia/Response/Model/Execution.php index 80b65af696..dc5d41c02c 100644 --- a/src/Appwrite/Utopia/Response/Model/Execution.php +++ b/src/Appwrite/Utopia/Response/Model/Execution.php @@ -81,7 +81,7 @@ class Execution extends Model 'example' => 200, ]) ->addRule('responseBody', [ - 'type' => self::TYPE_STRING, + 'type' => self::TYPE_PAYLOAD, 'description' => 'HTTP response body. This will return empty unless execution is created as synchronous.', 'default' => '', ]) From 24283dff7f7237f5c361e2cf31e54b8ced028553 Mon Sep 17 00:00:00 2001 From: shimon Date: Wed, 9 Oct 2024 10:13:49 +0300 Subject: [PATCH 17/33] removed audit deletion leftovers in deletes worker --- src/Appwrite/Platform/Workers/Deletes.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Deletes.php b/src/Appwrite/Platform/Workers/Deletes.php index 62fd8cd177..48e4014f1e 100644 --- a/src/Appwrite/Platform/Workers/Deletes.php +++ b/src/Appwrite/Platform/Workers/Deletes.php @@ -119,10 +119,6 @@ class Deletes extends Action if (!$project->isEmpty()) { $this->deleteAuditLogs($project, $getProjectDB, $auditRetention); } - - if (!$document->isEmpty()) { - $this->deleteAuditLogsByResource($getProjectDB, 'document/' . $document->getId(), $project); - } break; case DELETE_TYPE_ABUSE: $this->deleteAbuseLogs($project, $getProjectDB, $abuseRetention); @@ -733,22 +729,6 @@ class Deletes extends Action } } - /** - * @param callable $getProjectDB - * @param string $resource - * @param Document $project - * @return void - * @throws Exception - */ - private function deleteAuditLogsByResource(callable $getProjectDB, string $resource, Document $project): void - { - $dbForProject = $getProjectDB($project); - - $this->deleteByGroup(Audit::COLLECTION, [ - Query::equal('resource', [$resource]) - ], $dbForProject); - } - /** * @param callable $getProjectDB * @param Device $deviceForFunctions From 18c25aa03a045517293855e7dfc1d2deaf9bdd33 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 9 Oct 2024 22:25:55 +1300 Subject: [PATCH 18/33] Move new attributes --- app/config/collections.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/app/config/collections.php b/app/config/collections.php index cba3100922..69750e9427 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -4160,28 +4160,6 @@ $projectCollections = array_merge([ 'array' => true, 'filters' => [], ], - [ - '$id' => ID::custom('resourceId'), - 'type' => Database::VAR_STRING, - 'format' => '', - 'size' => Database::LENGTH_KEY, - 'signed' => true, - 'required' => false, - 'default' => null, - 'array' => false, - 'filters' => [], - ], - [ - '$id' => ID::custom('resourceType'), - 'type' => Database::VAR_STRING, - 'format' => '', - 'size' => Database::LENGTH_KEY, - 'signed' => true, - 'required' => false, - 'default' => null, - 'array' => false, - 'filters' => [], - ], [ '$id' => ID::custom('statusCounters'), 'type' => Database::VAR_STRING, From 473f97fe92640b1c160e3e23fe3a9d2c253bcae7 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 9 Oct 2024 22:55:50 +1300 Subject: [PATCH 19/33] Update migration --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index bba2391d2c..aa489de579 100644 --- a/composer.lock +++ b/composer.lock @@ -2175,16 +2175,16 @@ }, { "name": "utopia-php/migration", - "version": "0.6.5", + "version": "0.6.6", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "7b2d40d526b82e9b92a17ea681b8103222e3c86a" + "reference": "667997c7ca6c445001d56f70205b6cf13c6b7343" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/7b2d40d526b82e9b92a17ea681b8103222e3c86a", - "reference": "7b2d40d526b82e9b92a17ea681b8103222e3c86a", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/667997c7ca6c445001d56f70205b6cf13c6b7343", + "reference": "667997c7ca6c445001d56f70205b6cf13c6b7343", "shasum": "" }, "require": { @@ -2225,9 +2225,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/0.6.5" + "source": "https://github.com/utopia-php/migration/tree/0.6.6" }, - "time": "2024-10-07T08:54:05+00:00" + "time": "2024-10-09T09:51:43+00:00" }, { "name": "utopia-php/mongo", From 919bb9f4bd09d9dce44ab52e93192fc9a7f8a963 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:43:38 +0100 Subject: [PATCH 20/33] chore: remove restore-keys --- .github/workflows/tests.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a733814dfb..46c82910cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,7 @@ concurrency: env: IMAGE: appwrite-dev + CACHE_KEY: appwrite-dev-${{ github.event.pull_request.head.sha }} on: [pull_request] @@ -29,8 +30,8 @@ jobs: push: false tags: ${{ env.IMAGE }} load: true - cache-from: type=gha,scope=${{ env.CACHE_KEY }} - cache-to: type=gha,mode=max,scope=${{ env.CACHE_KEY }} + cache-from: type=gha,scope=appwrite + cache-to: type=gha,mode=max,scope=appwrite outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar build-args: | DEBUG=false @@ -40,7 +41,7 @@ jobs: - name: Cache Docker Image uses: actions/cache@v4 with: - key: appwrite-dev-${{ hashFiles('**') }} + key: ${{ env.CACHE_KEY }} path: /tmp/${{ env.IMAGE }}.tar unit_test: @@ -55,7 +56,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: appwrite-dev-${{ hashFiles('**') }} + key: ${{ env.CACHE_KEY }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true @@ -85,7 +86,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: appwrite-dev-${{ hashFiles('**') }} + key: ${{ env.CACHE_KEY }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true @@ -133,7 +134,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: appwrite-dev-${{ hashFiles('**') }} + key: ${{ env.CACHE_KEY }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true @@ -159,7 +160,7 @@ jobs: - name: Load Cache uses: actions/cache@v4 with: - key: appwrite-dev-${{ hashFiles('**') }} + key: ${{ env.CACHE_KEY }} path: /tmp/${{ env.IMAGE }}.tar fail-on-cache-miss: true - name: Load and Start Appwrite From 7c2b6d9330f8920361a486b778914086bec68c52 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:05:13 +0100 Subject: [PATCH 21/33] fix: remove cache scope --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 46c82910cb..7c53b03b52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,8 +30,8 @@ jobs: push: false tags: ${{ env.IMAGE }} load: true - cache-from: type=gha,scope=appwrite - cache-to: type=gha,mode=max,scope=appwrite + cache-from: type=gha + cache-to: type=gha,mode=max outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar build-args: | DEBUG=false From e90df389dd3f83ccb66247af98adac94667841c4 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:02:55 +0100 Subject: [PATCH 22/33] debug: non override --- .../Functions/FunctionsCustomClientTest.php | 38 ++++++++++++------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php index 31cc05f423..adce8e2cfe 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php @@ -6,6 +6,7 @@ use Tests\E2E\Client; use Tests\E2E\Scopes\ProjectCustom; use Tests\E2E\Scopes\Scope; use Tests\E2E\Scopes\SideClient; +use Utopia\CLI\Console; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Role; @@ -249,20 +250,29 @@ class FunctionsCustomClientTest extends Scope 'activate' => true ]); - $execution = $this->client->call(Client::METHOD_POST, '/functions/' . $functionId . '/executions', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - ], $this->getHeaders()), [ - 'x-appwrite-event' => "OVERRIDDEN", - 'x-appwrite-trigger' => "OVERRIDDEN", - 'x-appwrite-user-id' => "OVERRIDDEN", - 'x-appwrite-user-jwt' => "OVERRIDDEN", - ]); - $output = json_decode($execution['body']['responseBody'], true); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_JWT']); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_EVENT']); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_TRIGGER']); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_USER_ID']); + try { + $execution = $this->client->call(Client::METHOD_POST, '/functions/' . $functionId . '/executions', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'x-appwrite-event' => "OVERRIDDEN", + 'x-appwrite-trigger' => "OVERRIDDEN", + 'x-appwrite-user-id' => "OVERRIDDEN", + 'x-appwrite-user-jwt' => "OVERRIDDEN", + ]); + + $output = json_decode($execution['body']['responseBody'], true); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_JWT']); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_EVENT']); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_TRIGGER']); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_USER_ID']); + } catch (\Exception $e) { + // output docker logs + $out = ''; + Console::execute('docker compose logs appwrite', '', $out, $out); + fwrite(STDOUT, print_r($out, true)); + } + $this->cleanupFunction($functionId); } From 8f4594babb3e6381cf03a54544246be89df2d83b Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:12:46 +0100 Subject: [PATCH 23/33] debug: ci docker logs --- .github/workflows/tests.yml | 8 ++++ .../Functions/FunctionsCustomClientTest.php | 37 ++++++++----------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7c53b03b52..9ddba90595 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -147,9 +147,17 @@ jobs: - name: Run ${{matrix.service}} Tests run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug + - name: Log docker-compose logs + run: docker compose logs appwrite + if: failure() + - name: Run ${{matrix.service}} Shared Tables Tests run: _APP_DATABASE_SHARED_TABLES=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug + - name: Log docker-compose logs + run: docker compose logs appwrite + if: failure() + benchmarking: name: Benchmark runs-on: ubuntu-latest diff --git a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php index adce8e2cfe..c809d3a15a 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php @@ -250,28 +250,21 @@ class FunctionsCustomClientTest extends Scope 'activate' => true ]); - try { - $execution = $this->client->call(Client::METHOD_POST, '/functions/' . $functionId . '/executions', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - ], $this->getHeaders()), [ - 'x-appwrite-event' => "OVERRIDDEN", - 'x-appwrite-trigger' => "OVERRIDDEN", - 'x-appwrite-user-id' => "OVERRIDDEN", - 'x-appwrite-user-jwt' => "OVERRIDDEN", - ]); - - $output = json_decode($execution['body']['responseBody'], true); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_JWT']); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_EVENT']); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_TRIGGER']); - $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_USER_ID']); - } catch (\Exception $e) { - // output docker logs - $out = ''; - Console::execute('docker compose logs appwrite', '', $out, $out); - fwrite(STDOUT, print_r($out, true)); - } + $execution = $this->client->call(Client::METHOD_POST, '/functions/' . $functionId . '/executions', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'x-appwrite-event' => "OVERRIDDEN", + 'x-appwrite-trigger' => "OVERRIDDEN", + 'x-appwrite-user-id' => "OVERRIDDEN", + 'x-appwrite-user-jwt' => "OVERRIDDEN", + ]); + + $output = json_decode($execution['body']['responseBody'], true); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_JWT']); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_EVENT']); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_TRIGGER']); + $this->assertNotEquals('OVERRIDDEN', $output['APPWRITE_FUNCTION_USER_ID']); $this->cleanupFunction($functionId); From 3b4fea655a09571423d4f46b2de481e007cbc210 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:27:38 +0100 Subject: [PATCH 24/33] chore: revert logs --- .github/workflows/tests.yml | 8 -------- .../e2e/Services/Functions/FunctionsCustomClientTest.php | 1 - 2 files changed, 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9ddba90595..7c53b03b52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -147,17 +147,9 @@ jobs: - name: Run ${{matrix.service}} Tests run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug - - name: Log docker-compose logs - run: docker compose logs appwrite - if: failure() - - name: Run ${{matrix.service}} Shared Tables Tests run: _APP_DATABASE_SHARED_TABLES=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug - - name: Log docker-compose logs - run: docker compose logs appwrite - if: failure() - benchmarking: name: Benchmark runs-on: ubuntu-latest diff --git a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php index c809d3a15a..914a255663 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php @@ -6,7 +6,6 @@ use Tests\E2E\Client; use Tests\E2E\Scopes\ProjectCustom; use Tests\E2E\Scopes\Scope; use Tests\E2E\Scopes\SideClient; -use Utopia\CLI\Console; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Role; From e0ebeb837a9e1ebf2ed3519985b533d845fe1b54 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Wed, 9 Oct 2024 16:04:36 +0000 Subject: [PATCH 25/33] chore: update php runtimes --- app/config/function-templates.php | 13 ++++++--- composer.lock | 48 +++++++++++++++---------------- 2 files changed, 33 insertions(+), 28 deletions(-) diff --git a/app/config/function-templates.php b/app/config/function-templates.php index db26ff2c19..d34290fde3 100644 --- a/app/config/function-templates.php +++ b/app/config/function-templates.php @@ -3,7 +3,7 @@ const TEMPLATE_RUNTIMES = [ 'NODE' => [ 'name' => 'node', - 'versions' => ['21.0', '20.0', '19.0', '18.0', '16.0', '14.5'] + 'versions' => ['22', '21.0', '20.0', '19.0', '18.0', '16.0', '14.5'] ], 'PYTHON' => [ 'name' => 'python', @@ -11,7 +11,7 @@ const TEMPLATE_RUNTIMES = [ ], 'DART' => [ 'name' => 'dart', - 'versions' => ['3.3', '3.1', '3.0', '2.19', '2.18', '2.17', '2.16', '2.16'] + 'versions' => ['3.5', '3.3', '3.1', '3.0', '2.19', '2.18', '2.17', '2.16', '2.16'] ], 'GO' => [ 'name' => 'go', @@ -23,12 +23,16 @@ const TEMPLATE_RUNTIMES = [ ], 'BUN' => [ 'name' => 'bun', - 'versions' => ['1.0'] + 'versions' => ['1.1', '1.0'] ], 'RUBY' => [ 'name' => 'ruby', 'versions' => ['3.3', '3.2', '3.1', '3.0'] ], + 'DENO' => [ + 'name' => 'deno', + 'versions' => ['2.0', '1.46', '1.40', '1.35', '1.24', '1.21'] + ], ]; function getRuntimes($runtime, $commands, $entrypoint, $providerRootDirectory, $versionsDenyList = []) @@ -75,6 +79,7 @@ return [ ), ...getRuntimes(TEMPLATE_RUNTIMES['BUN'], 'bun install', 'src/main.ts', 'bun/starter'), ...getRuntimes(TEMPLATE_RUNTIMES['RUBY'], 'bundle install', 'lib/main.rb', 'ruby/starter'), + ...getRuntimes(TEMPLATE_RUNTIMES['DENO'], 'deno cache src/main.ts', 'src/main.ts', 'deno/starter'), ], 'instructions' => 'For documentation and instructions check out file.', 'vcsProvider' => 'github', @@ -2065,4 +2070,4 @@ return [ ], 'scopes' => ['users.read', 'users.write'] ] -]; +]; \ No newline at end of file diff --git a/composer.lock b/composer.lock index 93672e670e..c6fba44502 100644 --- a/composer.lock +++ b/composer.lock @@ -1623,16 +1623,16 @@ }, { "name": "utopia-php/cli", - "version": "0.15.0", + "version": "0.15.1", "source": { "type": "git", "url": "https://github.com/utopia-php/cli.git", - "reference": "ccb7c8125ffe0254fef8f25744bfa376eb7bd0ea" + "reference": "d69bbe51a6a94dc4e5bcdd542b5938038b985a65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cli/zipball/ccb7c8125ffe0254fef8f25744bfa376eb7bd0ea", - "reference": "ccb7c8125ffe0254fef8f25744bfa376eb7bd0ea", + "url": "https://api.github.com/repos/utopia-php/cli/zipball/d69bbe51a6a94dc4e5bcdd542b5938038b985a65", + "reference": "d69bbe51a6a94dc4e5bcdd542b5938038b985a65", "shasum": "" }, "require": { @@ -1666,9 +1666,9 @@ ], "support": { "issues": "https://github.com/utopia-php/cli/issues", - "source": "https://github.com/utopia-php/cli/tree/0.15.0" + "source": "https://github.com/utopia-php/cli/tree/0.15.1" }, - "time": "2023-03-01T05:55:14+00:00" + "time": "2024-10-04T13:55:36+00:00" }, { "name": "utopia-php/config", @@ -2123,16 +2123,16 @@ }, { "name": "utopia-php/messaging", - "version": "0.12.0", + "version": "0.12.1", "source": { "type": "git", "url": "https://github.com/utopia-php/messaging.git", - "reference": "6e466d3511981291843c6ebf9ce3f44fc75e37b0" + "reference": "b9dfafb5efc1d12cbee01d03dc98853ef026e35b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/messaging/zipball/6e466d3511981291843c6ebf9ce3f44fc75e37b0", - "reference": "6e466d3511981291843c6ebf9ce3f44fc75e37b0", + "url": "https://api.github.com/repos/utopia-php/messaging/zipball/b9dfafb5efc1d12cbee01d03dc98853ef026e35b", + "reference": "b9dfafb5efc1d12cbee01d03dc98853ef026e35b", "shasum": "" }, "require": { @@ -2168,9 +2168,9 @@ ], "support": { "issues": "https://github.com/utopia-php/messaging/issues", - "source": "https://github.com/utopia-php/messaging/tree/0.12.0" + "source": "https://github.com/utopia-php/messaging/tree/0.12.1" }, - "time": "2024-05-30T14:58:25+00:00" + "time": "2024-10-09T08:17:07+00:00" }, { "name": "utopia-php/migration", @@ -2993,16 +2993,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.39.22", + "version": "0.39.23", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "bdbb1607527550e67283ff0533522d1410c2c0df" + "reference": "0acceabb7593c9c07c5db85a84a5ebac60896763" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/bdbb1607527550e67283ff0533522d1410c2c0df", - "reference": "bdbb1607527550e67283ff0533522d1410c2c0df", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/0acceabb7593c9c07c5db85a84a5ebac60896763", + "reference": "0acceabb7593c9c07c5db85a84a5ebac60896763", "shasum": "" }, "require": { @@ -3038,9 +3038,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.39.22" + "source": "https://github.com/appwrite/sdk-generator/tree/0.39.23" }, - "time": "2024-10-01T16:16:26+00:00" + "time": "2024-10-08T00:38:57+00:00" }, { "name": "doctrine/annotations", @@ -3564,16 +3564,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.0", + "version": "v5.3.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/3abf7425cd284141dc5d8d14a9ee444de3345d1a", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -3616,9 +3616,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-09-29T13:56:26+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "phar-io/manifest", From d33ecfa7f563aac7508d0637bf6e7e075dcfae22 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Wed, 9 Oct 2024 16:06:34 +0000 Subject: [PATCH 26/33] chore: update php runtimes --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 575973e54d..a581bd2fc1 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "ext-openssl": "*", "ext-zlib": "*", "ext-sockets": "*", - "appwrite/php-runtimes": "0.15.*", + "appwrite/php-runtimes": "0.16.*", "appwrite/php-clamav": "2.0.*", "utopia-php/abuse": "0.43.0", "utopia-php/analytics": "0.10.*", diff --git a/composer.lock b/composer.lock index c6fba44502..575e398452 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "66e31af1f7d0d1617694a1c5a975f887", + "content-hash": "f05357728316c79037d22ee26afd2d3e", "packages": [ { "name": "adhocore/jwt", @@ -156,16 +156,16 @@ }, { "name": "appwrite/php-runtimes", - "version": "0.15.0", + "version": "0.16.1", "source": { "type": "git", "url": "https://github.com/appwrite/runtimes.git", - "reference": "68ea5bcc24c513a6d641ddf9412bbab13e5dfb94" + "reference": "b36da25768c2dc66908ae226f6eed1b073a6f642" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/runtimes/zipball/68ea5bcc24c513a6d641ddf9412bbab13e5dfb94", - "reference": "68ea5bcc24c513a6d641ddf9412bbab13e5dfb94", + "url": "https://api.github.com/repos/appwrite/runtimes/zipball/b36da25768c2dc66908ae226f6eed1b073a6f642", + "reference": "b36da25768c2dc66908ae226f6eed1b073a6f642", "shasum": "" }, "require": { @@ -205,9 +205,9 @@ ], "support": { "issues": "https://github.com/appwrite/runtimes/issues", - "source": "https://github.com/appwrite/runtimes/tree/0.15.0" + "source": "https://github.com/appwrite/runtimes/tree/0.16.1" }, - "time": "2024-08-21T10:23:45+00:00" + "time": "2024-10-09T10:27:14+00:00" }, { "name": "beberlei/assert", From 119834fc96800ba050405bfe0f6d7f25687cc8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 9 Oct 2024 18:21:35 +0200 Subject: [PATCH 27/33] Fix deno order --- app/config/function-templates.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/config/function-templates.php b/app/config/function-templates.php index d34290fde3..8926f0624c 100644 --- a/app/config/function-templates.php +++ b/app/config/function-templates.php @@ -21,6 +21,10 @@ const TEMPLATE_RUNTIMES = [ 'name' => 'php', 'versions' => ['8.3', '8.2', '8.1', '8.0'] ], + 'DENO' => [ + 'name' => 'deno', + 'versions' => ['2.0', '1.46', '1.40', '1.35', '1.24', '1.21'] + ], 'BUN' => [ 'name' => 'bun', 'versions' => ['1.1', '1.0'] @@ -29,10 +33,6 @@ const TEMPLATE_RUNTIMES = [ 'name' => 'ruby', 'versions' => ['3.3', '3.2', '3.1', '3.0'] ], - 'DENO' => [ - 'name' => 'deno', - 'versions' => ['2.0', '1.46', '1.40', '1.35', '1.24', '1.21'] - ], ]; function getRuntimes($runtime, $commands, $entrypoint, $providerRootDirectory, $versionsDenyList = []) From 4c1d539e0433e7e0545b93e3e3207ce7b3deb594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 9 Oct 2024 19:18:40 +0200 Subject: [PATCH 28/33] Change order --- app/config/function-templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/function-templates.php b/app/config/function-templates.php index 8926f0624c..e0d35e57b5 100644 --- a/app/config/function-templates.php +++ b/app/config/function-templates.php @@ -77,9 +77,9 @@ return [ 'src/index.php', 'php/starter' ), + ...getRuntimes(TEMPLATE_RUNTIMES['DENO'], 'deno cache src/main.ts', 'src/main.ts', 'deno/starter'), ...getRuntimes(TEMPLATE_RUNTIMES['BUN'], 'bun install', 'src/main.ts', 'bun/starter'), ...getRuntimes(TEMPLATE_RUNTIMES['RUBY'], 'bundle install', 'lib/main.rb', 'ruby/starter'), - ...getRuntimes(TEMPLATE_RUNTIMES['DENO'], 'deno cache src/main.ts', 'src/main.ts', 'deno/starter'), ], 'instructions' => 'For documentation and instructions check out file.', 'vcsProvider' => 'github', From ecfe962d43a1693ccb130008424426a67ed81234 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 10 Oct 2024 15:53:54 +1300 Subject: [PATCH 29/33] Fix execution model --- src/Appwrite/Utopia/Response/Model/Execution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Utopia/Response/Model/Execution.php b/src/Appwrite/Utopia/Response/Model/Execution.php index dc5d41c02c..80b65af696 100644 --- a/src/Appwrite/Utopia/Response/Model/Execution.php +++ b/src/Appwrite/Utopia/Response/Model/Execution.php @@ -81,7 +81,7 @@ class Execution extends Model 'example' => 200, ]) ->addRule('responseBody', [ - 'type' => self::TYPE_PAYLOAD, + 'type' => self::TYPE_STRING, 'description' => 'HTTP response body. This will return empty unless execution is created as synchronous.', 'default' => '', ]) From 244942dd4e7c4ad4fb9c59527f327b28c81277e9 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 10 Oct 2024 15:55:35 +1300 Subject: [PATCH 30/33] Generate specs --- app/config/specs/open-api3-1.6.x-client.json | 190 ++--- app/config/specs/open-api3-1.6.x-console.json | 767 ++++++++--------- app/config/specs/open-api3-1.6.x-server.json | 546 +++++++------ app/config/specs/swagger2-1.6.x-client.json | 192 ++--- app/config/specs/swagger2-1.6.x-console.json | 769 +++++++++--------- app/config/specs/swagger2-1.6.x-server.json | 548 +++++++------ 6 files changed, 1551 insertions(+), 1461 deletions(-) diff --git a/app/config/specs/open-api3-1.6.x-client.json b/app/config/specs/open-api3-1.6.x-client.json index c67793eafd..c00d4e2d07 100644 --- a/app/config/specs/open-api3-1.6.x-client.json +++ b/app/config/specs/open-api3-1.6.x-client.json @@ -43,7 +43,7 @@ }, "x-appwrite": { "method": "get", - "weight": 8, + "weight": 9, "cookies": false, "type": "", "deprecated": false, @@ -94,7 +94,7 @@ }, "x-appwrite": { "method": "create", - "weight": 7, + "weight": 8, "cookies": false, "type": "", "deprecated": false, @@ -181,7 +181,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 33, + "weight": 34, "cookies": false, "type": "", "deprecated": false, @@ -259,7 +259,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 56, + "weight": 57, "cookies": false, "type": "", "deprecated": false, @@ -320,7 +320,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 57, + "weight": 58, "cookies": false, "type": "", "deprecated": false, @@ -385,7 +385,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 28, + "weight": 29, "cookies": false, "type": "", "deprecated": false, @@ -436,7 +436,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 30, + "weight": 31, "cookies": false, "type": "", "deprecated": false, @@ -504,7 +504,7 @@ }, "x-appwrite": { "method": "updateMFA", - "weight": 43, + "weight": 44, "cookies": false, "type": "", "deprecated": false, @@ -576,7 +576,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", - "weight": 45, + "weight": 46, "cookies": false, "type": "", "deprecated": false, @@ -644,7 +644,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", - "weight": 46, + "weight": 47, "cookies": false, "type": "", "deprecated": false, @@ -724,7 +724,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 50, + "weight": 51, "cookies": false, "type": "", "deprecated": false, @@ -794,7 +794,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", - "weight": 51, + "weight": 52, "cookies": false, "type": "", "deprecated": false, @@ -870,7 +870,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", - "weight": 52, + "weight": 53, "cookies": false, "type": "", "deprecated": false, @@ -948,7 +948,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 44, + "weight": 45, "cookies": false, "type": "", "deprecated": false, @@ -1001,7 +1001,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 49, + "weight": 50, "cookies": false, "type": "", "deprecated": false, @@ -1052,7 +1052,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 47, + "weight": 48, "cookies": false, "type": "", "deprecated": false, @@ -1103,7 +1103,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 48, + "weight": 49, "cookies": false, "type": "", "deprecated": false, @@ -1156,7 +1156,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 31, + "weight": 32, "cookies": false, "type": "", "deprecated": false, @@ -1228,7 +1228,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 32, + "weight": 33, "cookies": false, "type": "", "deprecated": false, @@ -1305,7 +1305,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 34, + "weight": 35, "cookies": false, "type": "", "deprecated": false, @@ -1383,7 +1383,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 29, + "weight": 30, "cookies": false, "type": "", "deprecated": false, @@ -1434,7 +1434,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 35, + "weight": 36, "cookies": false, "type": "", "deprecated": false, @@ -1506,7 +1506,7 @@ }, "x-appwrite": { "method": "createRecovery", - "weight": 37, + "weight": 38, "cookies": false, "type": "", "deprecated": false, @@ -1585,7 +1585,7 @@ }, "x-appwrite": { "method": "updateRecovery", - "weight": 38, + "weight": 39, "cookies": false, "type": "", "deprecated": false, @@ -1669,7 +1669,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 10, + "weight": 11, "cookies": false, "type": "", "deprecated": false, @@ -1713,7 +1713,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 11, + "weight": 12, "cookies": false, "type": "", "deprecated": false, @@ -1766,7 +1766,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", - "weight": 16, + "weight": 17, "cookies": false, "type": "", "deprecated": false, @@ -1817,7 +1817,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", - "weight": 15, + "weight": 16, "cookies": false, "type": "", "deprecated": false, @@ -1893,7 +1893,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", - "weight": 25, + "weight": 26, "cookies": false, "type": "", "deprecated": true, @@ -1962,7 +1962,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", - "weight": 18, + "weight": 19, "cookies": false, "type": "webAuth", "deprecated": false, @@ -2105,7 +2105,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", - "weight": 26, + "weight": 27, "cookies": false, "type": "", "deprecated": true, @@ -2181,7 +2181,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 17, + "weight": 18, "cookies": false, "type": "", "deprecated": false, @@ -2257,7 +2257,7 @@ }, "x-appwrite": { "method": "getSession", - "weight": 12, + "weight": 13, "cookies": false, "type": "", "deprecated": false, @@ -2320,7 +2320,7 @@ }, "x-appwrite": { "method": "updateSession", - "weight": 14, + "weight": 15, "cookies": false, "type": "", "deprecated": false, @@ -2376,7 +2376,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 13, + "weight": 14, "cookies": false, "type": "", "deprecated": false, @@ -2441,7 +2441,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 36, + "weight": 37, "cookies": false, "type": "", "deprecated": false, @@ -2494,7 +2494,7 @@ }, "x-appwrite": { "method": "createPushTarget", - "weight": 53, + "weight": 54, "cookies": false, "type": "", "deprecated": false, @@ -2575,7 +2575,7 @@ }, "x-appwrite": { "method": "updatePushTarget", - "weight": 54, + "weight": 55, "cookies": false, "type": "", "deprecated": false, @@ -2655,7 +2655,7 @@ }, "x-appwrite": { "method": "deletePushTarget", - "weight": 55, + "weight": 56, "cookies": false, "type": "", "deprecated": false, @@ -2718,7 +2718,7 @@ }, "x-appwrite": { "method": "createEmailToken", - "weight": 24, + "weight": 25, "cookies": false, "type": "", "deprecated": false, @@ -2799,7 +2799,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", - "weight": 23, + "weight": 24, "cookies": false, "type": "", "deprecated": false, @@ -2881,7 +2881,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", - "weight": 22, + "weight": 23, "cookies": false, "type": "webAuth", "deprecated": false, @@ -3024,7 +3024,7 @@ }, "x-appwrite": { "method": "createPhoneToken", - "weight": 27, + "weight": 28, "cookies": false, "type": "", "deprecated": false, @@ -3103,7 +3103,7 @@ }, "x-appwrite": { "method": "createVerification", - "weight": 39, + "weight": 40, "cookies": false, "type": "", "deprecated": false, @@ -3173,7 +3173,7 @@ }, "x-appwrite": { "method": "updateVerification", - "weight": 40, + "weight": 41, "cookies": false, "type": "", "deprecated": false, @@ -3251,7 +3251,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", - "weight": 41, + "weight": 42, "cookies": false, "type": "", "deprecated": false, @@ -3305,7 +3305,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 42, + "weight": 43, "cookies": false, "type": "", "deprecated": false, @@ -3376,7 +3376,7 @@ }, "x-appwrite": { "method": "getBrowser", - "weight": 59, + "weight": 60, "cookies": false, "type": "location", "deprecated": false, @@ -3504,7 +3504,7 @@ }, "x-appwrite": { "method": "getCreditCard", - "weight": 58, + "weight": 59, "cookies": false, "type": "location", "deprecated": false, @@ -3636,7 +3636,7 @@ }, "x-appwrite": { "method": "getFavicon", - "weight": 62, + "weight": 63, "cookies": false, "type": "location", "deprecated": false, @@ -3696,7 +3696,7 @@ }, "x-appwrite": { "method": "getFlag", - "weight": 60, + "weight": 61, "cookies": false, "type": "location", "deprecated": false, @@ -4186,7 +4186,7 @@ }, "x-appwrite": { "method": "getImage", - "weight": 61, + "weight": 62, "cookies": false, "type": "location", "deprecated": false, @@ -4270,7 +4270,7 @@ }, "x-appwrite": { "method": "getInitials", - "weight": 64, + "weight": 65, "cookies": false, "type": "location", "deprecated": false, @@ -4364,7 +4364,7 @@ }, "x-appwrite": { "method": "getQR", - "weight": 63, + "weight": 64, "cookies": false, "type": "location", "deprecated": false, @@ -4465,7 +4465,7 @@ }, "x-appwrite": { "method": "listDocuments", - "weight": 108, + "weight": 109, "cookies": false, "type": "", "deprecated": false, @@ -4552,7 +4552,7 @@ }, "x-appwrite": { "method": "createDocument", - "weight": 107, + "weight": 108, "cookies": false, "type": "", "deprecated": false, @@ -4661,7 +4661,7 @@ }, "x-appwrite": { "method": "getDocument", - "weight": 109, + "weight": 110, "cookies": false, "type": "", "deprecated": false, @@ -4758,7 +4758,7 @@ }, "x-appwrite": { "method": "updateDocument", - "weight": 111, + "weight": 112, "cookies": false, "type": "", "deprecated": false, @@ -4859,7 +4859,7 @@ }, "x-appwrite": { "method": "deleteDocument", - "weight": 112, + "weight": 113, "cookies": false, "type": "", "deprecated": false, @@ -4945,7 +4945,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -5033,7 +5033,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -5150,7 +5150,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -5226,7 +5226,7 @@ }, "x-appwrite": { "method": "query", - "weight": 329, + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -5280,7 +5280,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 328, + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -5334,7 +5334,7 @@ }, "x-appwrite": { "method": "get", - "weight": 116, + "weight": 117, "cookies": false, "type": "", "deprecated": false, @@ -5388,7 +5388,7 @@ }, "x-appwrite": { "method": "listCodes", - "weight": 117, + "weight": 118, "cookies": false, "type": "", "deprecated": false, @@ -5442,7 +5442,7 @@ }, "x-appwrite": { "method": "listContinents", - "weight": 121, + "weight": 122, "cookies": false, "type": "", "deprecated": false, @@ -5496,7 +5496,7 @@ }, "x-appwrite": { "method": "listCountries", - "weight": 118, + "weight": 119, "cookies": false, "type": "", "deprecated": false, @@ -5550,7 +5550,7 @@ }, "x-appwrite": { "method": "listCountriesEU", - "weight": 119, + "weight": 120, "cookies": false, "type": "", "deprecated": false, @@ -5604,7 +5604,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", - "weight": 120, + "weight": 121, "cookies": false, "type": "", "deprecated": false, @@ -5658,7 +5658,7 @@ }, "x-appwrite": { "method": "listCurrencies", - "weight": 122, + "weight": 123, "cookies": false, "type": "", "deprecated": false, @@ -5712,7 +5712,7 @@ }, "x-appwrite": { "method": "listLanguages", - "weight": 123, + "weight": 124, "cookies": false, "type": "", "deprecated": false, @@ -5766,7 +5766,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -5851,7 +5851,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -5928,7 +5928,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 206, + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -6016,7 +6016,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 205, + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -6116,7 +6116,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -6190,7 +6190,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 212, + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -6281,7 +6281,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6350,7 +6350,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6419,7 +6419,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 208, + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -6637,7 +6637,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6713,7 +6713,7 @@ }, "x-appwrite": { "method": "list", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6791,7 +6791,7 @@ }, "x-appwrite": { "method": "create", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -6878,7 +6878,7 @@ }, "x-appwrite": { "method": "get", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -6942,7 +6942,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -7018,7 +7018,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -7084,7 +7084,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -7172,7 +7172,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -7285,7 +7285,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -7359,7 +7359,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7448,7 +7448,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7524,7 +7524,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7624,7 +7624,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -7687,7 +7687,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-1.6.x-console.json b/app/config/specs/open-api3-1.6.x-console.json index 32df1d5c94..87c61ada7b 100644 --- a/app/config/specs/open-api3-1.6.x-console.json +++ b/app/config/specs/open-api3-1.6.x-console.json @@ -43,7 +43,7 @@ }, "x-appwrite": { "method": "get", - "weight": 8, + "weight": 9, "cookies": false, "type": "", "deprecated": false, @@ -93,7 +93,7 @@ }, "x-appwrite": { "method": "create", - "weight": 7, + "weight": 8, "cookies": false, "type": "", "deprecated": false, @@ -171,7 +171,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 9, + "weight": 10, "cookies": false, "type": "", "deprecated": false, @@ -221,7 +221,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 33, + "weight": 34, "cookies": false, "type": "", "deprecated": false, @@ -298,7 +298,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 56, + "weight": 57, "cookies": false, "type": "", "deprecated": false, @@ -358,7 +358,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 57, + "weight": 58, "cookies": false, "type": "", "deprecated": false, @@ -422,7 +422,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 28, + "weight": 29, "cookies": false, "type": "", "deprecated": false, @@ -473,7 +473,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 30, + "weight": 31, "cookies": false, "type": "", "deprecated": false, @@ -540,7 +540,7 @@ }, "x-appwrite": { "method": "updateMFA", - "weight": 43, + "weight": 44, "cookies": false, "type": "", "deprecated": false, @@ -611,7 +611,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", - "weight": 45, + "weight": 46, "cookies": false, "type": "", "deprecated": false, @@ -678,7 +678,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", - "weight": 46, + "weight": 47, "cookies": false, "type": "", "deprecated": false, @@ -757,7 +757,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 50, + "weight": 51, "cookies": false, "type": "", "deprecated": false, @@ -826,7 +826,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", - "weight": 51, + "weight": 52, "cookies": false, "type": "", "deprecated": false, @@ -902,7 +902,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", - "weight": 52, + "weight": 53, "cookies": false, "type": "", "deprecated": false, @@ -979,7 +979,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 44, + "weight": 45, "cookies": false, "type": "", "deprecated": false, @@ -1031,7 +1031,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 49, + "weight": 50, "cookies": false, "type": "", "deprecated": false, @@ -1081,7 +1081,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 47, + "weight": 48, "cookies": false, "type": "", "deprecated": false, @@ -1131,7 +1131,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 48, + "weight": 49, "cookies": false, "type": "", "deprecated": false, @@ -1183,7 +1183,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 31, + "weight": 32, "cookies": false, "type": "", "deprecated": false, @@ -1254,7 +1254,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 32, + "weight": 33, "cookies": false, "type": "", "deprecated": false, @@ -1330,7 +1330,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 34, + "weight": 35, "cookies": false, "type": "", "deprecated": false, @@ -1407,7 +1407,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 29, + "weight": 30, "cookies": false, "type": "", "deprecated": false, @@ -1457,7 +1457,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 35, + "weight": 36, "cookies": false, "type": "", "deprecated": false, @@ -1528,7 +1528,7 @@ }, "x-appwrite": { "method": "createRecovery", - "weight": 37, + "weight": 38, "cookies": false, "type": "", "deprecated": false, @@ -1606,7 +1606,7 @@ }, "x-appwrite": { "method": "updateRecovery", - "weight": 38, + "weight": 39, "cookies": false, "type": "", "deprecated": false, @@ -1689,7 +1689,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 10, + "weight": 11, "cookies": false, "type": "", "deprecated": false, @@ -1732,7 +1732,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 11, + "weight": 12, "cookies": false, "type": "", "deprecated": false, @@ -1784,7 +1784,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", - "weight": 16, + "weight": 17, "cookies": false, "type": "", "deprecated": false, @@ -1835,7 +1835,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", - "weight": 15, + "weight": 16, "cookies": false, "type": "", "deprecated": false, @@ -1911,7 +1911,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", - "weight": 25, + "weight": 26, "cookies": false, "type": "", "deprecated": true, @@ -1980,7 +1980,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", - "weight": 18, + "weight": 19, "cookies": false, "type": "webAuth", "deprecated": false, @@ -2123,7 +2123,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", - "weight": 26, + "weight": 27, "cookies": false, "type": "", "deprecated": true, @@ -2199,7 +2199,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 17, + "weight": 18, "cookies": false, "type": "", "deprecated": false, @@ -2275,7 +2275,7 @@ }, "x-appwrite": { "method": "getSession", - "weight": 12, + "weight": 13, "cookies": false, "type": "", "deprecated": false, @@ -2337,7 +2337,7 @@ }, "x-appwrite": { "method": "updateSession", - "weight": 14, + "weight": 15, "cookies": false, "type": "", "deprecated": false, @@ -2392,7 +2392,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 13, + "weight": 14, "cookies": false, "type": "", "deprecated": false, @@ -2456,7 +2456,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 36, + "weight": 37, "cookies": false, "type": "", "deprecated": false, @@ -2508,7 +2508,7 @@ }, "x-appwrite": { "method": "createPushTarget", - "weight": 53, + "weight": 54, "cookies": false, "type": "", "deprecated": false, @@ -2588,7 +2588,7 @@ }, "x-appwrite": { "method": "updatePushTarget", - "weight": 54, + "weight": 55, "cookies": false, "type": "", "deprecated": false, @@ -2667,7 +2667,7 @@ }, "x-appwrite": { "method": "deletePushTarget", - "weight": 55, + "weight": 56, "cookies": false, "type": "", "deprecated": false, @@ -2729,7 +2729,7 @@ }, "x-appwrite": { "method": "createEmailToken", - "weight": 24, + "weight": 25, "cookies": false, "type": "", "deprecated": false, @@ -2810,7 +2810,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", - "weight": 23, + "weight": 24, "cookies": false, "type": "", "deprecated": false, @@ -2892,7 +2892,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", - "weight": 22, + "weight": 23, "cookies": false, "type": "webAuth", "deprecated": false, @@ -3035,7 +3035,7 @@ }, "x-appwrite": { "method": "createPhoneToken", - "weight": 27, + "weight": 28, "cookies": false, "type": "", "deprecated": false, @@ -3114,7 +3114,7 @@ }, "x-appwrite": { "method": "createVerification", - "weight": 39, + "weight": 40, "cookies": false, "type": "", "deprecated": false, @@ -3183,7 +3183,7 @@ }, "x-appwrite": { "method": "updateVerification", - "weight": 40, + "weight": 41, "cookies": false, "type": "", "deprecated": false, @@ -3260,7 +3260,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", - "weight": 41, + "weight": 42, "cookies": false, "type": "", "deprecated": false, @@ -3313,7 +3313,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 42, + "weight": 43, "cookies": false, "type": "", "deprecated": false, @@ -3383,7 +3383,7 @@ }, "x-appwrite": { "method": "getBrowser", - "weight": 59, + "weight": 60, "cookies": false, "type": "location", "deprecated": false, @@ -3511,7 +3511,7 @@ }, "x-appwrite": { "method": "getCreditCard", - "weight": 58, + "weight": 59, "cookies": false, "type": "location", "deprecated": false, @@ -3643,7 +3643,7 @@ }, "x-appwrite": { "method": "getFavicon", - "weight": 62, + "weight": 63, "cookies": false, "type": "location", "deprecated": false, @@ -3703,7 +3703,7 @@ }, "x-appwrite": { "method": "getFlag", - "weight": 60, + "weight": 61, "cookies": false, "type": "location", "deprecated": false, @@ -4193,7 +4193,7 @@ }, "x-appwrite": { "method": "getImage", - "weight": 61, + "weight": 62, "cookies": false, "type": "location", "deprecated": false, @@ -4277,7 +4277,7 @@ }, "x-appwrite": { "method": "getInitials", - "weight": 64, + "weight": 65, "cookies": false, "type": "location", "deprecated": false, @@ -4371,7 +4371,7 @@ }, "x-appwrite": { "method": "getQR", - "weight": 63, + "weight": 64, "cookies": false, "type": "location", "deprecated": false, @@ -4465,7 +4465,7 @@ }, "x-appwrite": { "method": "chat", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -4534,7 +4534,7 @@ }, "x-appwrite": { "method": "variables", - "weight": 330, + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -4584,7 +4584,7 @@ }, "x-appwrite": { "method": "list", - "weight": 69, + "weight": 70, "cookies": false, "type": "", "deprecated": false, @@ -4659,7 +4659,7 @@ }, "x-appwrite": { "method": "create", - "weight": 68, + "weight": 69, "cookies": false, "type": "", "deprecated": false, @@ -4740,7 +4740,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 113, + "weight": 114, "cookies": false, "type": "", "deprecated": false, @@ -4814,7 +4814,7 @@ }, "x-appwrite": { "method": "get", - "weight": 70, + "weight": 71, "cookies": false, "type": "", "deprecated": false, @@ -4875,7 +4875,7 @@ }, "x-appwrite": { "method": "update", - "weight": 72, + "weight": 73, "cookies": false, "type": "", "deprecated": false, @@ -4953,7 +4953,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 73, + "weight": 74, "cookies": false, "type": "", "deprecated": false, @@ -5016,7 +5016,7 @@ }, "x-appwrite": { "method": "listCollections", - "weight": 75, + "weight": 76, "cookies": false, "type": "", "deprecated": false, @@ -5101,7 +5101,7 @@ }, "x-appwrite": { "method": "createCollection", - "weight": 74, + "weight": 75, "cookies": false, "type": "", "deprecated": false, @@ -5207,7 +5207,7 @@ }, "x-appwrite": { "method": "getCollection", - "weight": 76, + "weight": 77, "cookies": false, "type": "", "deprecated": false, @@ -5278,7 +5278,7 @@ }, "x-appwrite": { "method": "updateCollection", - "weight": 78, + "weight": 79, "cookies": false, "type": "", "deprecated": false, @@ -5379,7 +5379,7 @@ }, "x-appwrite": { "method": "deleteCollection", - "weight": 79, + "weight": 80, "cookies": false, "type": "", "deprecated": false, @@ -5452,7 +5452,7 @@ }, "x-appwrite": { "method": "listAttributes", - "weight": 90, + "weight": 91, "cookies": false, "type": "", "deprecated": false, @@ -5538,7 +5538,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", - "weight": 87, + "weight": 88, "cookies": false, "type": "", "deprecated": false, @@ -5646,7 +5646,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", - "weight": 99, + "weight": 100, "cookies": false, "type": "", "deprecated": false, @@ -5759,7 +5759,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", - "weight": 88, + "weight": 89, "cookies": false, "type": "", "deprecated": false, @@ -5867,7 +5867,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", - "weight": 100, + "weight": 101, "cookies": false, "type": "", "deprecated": false, @@ -5980,7 +5980,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", - "weight": 81, + "weight": 82, "cookies": false, "type": "", "deprecated": false, @@ -6088,7 +6088,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", - "weight": 93, + "weight": 94, "cookies": false, "type": "", "deprecated": false, @@ -6201,7 +6201,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", - "weight": 82, + "weight": 83, "cookies": false, "type": "", "deprecated": false, @@ -6318,7 +6318,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", - "weight": 94, + "weight": 95, "cookies": false, "type": "", "deprecated": false, @@ -6440,7 +6440,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", - "weight": 86, + "weight": 87, "cookies": false, "type": "", "deprecated": false, @@ -6558,7 +6558,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", - "weight": 98, + "weight": 99, "cookies": false, "type": "", "deprecated": false, @@ -6683,7 +6683,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", - "weight": 85, + "weight": 86, "cookies": false, "type": "", "deprecated": false, @@ -6801,7 +6801,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", - "weight": 97, + "weight": 98, "cookies": false, "type": "", "deprecated": false, @@ -6926,7 +6926,7 @@ }, "x-appwrite": { "method": "createIpAttribute", - "weight": 83, + "weight": 84, "cookies": false, "type": "", "deprecated": false, @@ -7034,7 +7034,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", - "weight": 95, + "weight": 96, "cookies": false, "type": "", "deprecated": false, @@ -7147,7 +7147,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", - "weight": 89, + "weight": 90, "cookies": false, "type": "", "deprecated": false, @@ -7280,7 +7280,7 @@ }, "x-appwrite": { "method": "createStringAttribute", - "weight": 80, + "weight": 81, "cookies": false, "type": "", "deprecated": false, @@ -7399,7 +7399,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", - "weight": 92, + "weight": 93, "cookies": false, "type": "", "deprecated": false, @@ -7517,7 +7517,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", - "weight": 84, + "weight": 85, "cookies": false, "type": "", "deprecated": false, @@ -7625,7 +7625,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", - "weight": 96, + "weight": 97, "cookies": false, "type": "", "deprecated": false, @@ -7769,7 +7769,7 @@ }, "x-appwrite": { "method": "getAttribute", - "weight": 91, + "weight": 92, "cookies": false, "type": "", "deprecated": false, @@ -7842,7 +7842,7 @@ }, "x-appwrite": { "method": "deleteAttribute", - "weight": 102, + "weight": 103, "cookies": false, "type": "", "deprecated": false, @@ -7924,7 +7924,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", - "weight": 101, + "weight": 102, "cookies": false, "type": "", "deprecated": false, @@ -8034,7 +8034,7 @@ }, "x-appwrite": { "method": "listDocuments", - "weight": 108, + "weight": 109, "cookies": false, "type": "", "deprecated": false, @@ -8121,7 +8121,7 @@ }, "x-appwrite": { "method": "createDocument", - "weight": 107, + "weight": 108, "cookies": false, "type": "", "deprecated": false, @@ -8230,7 +8230,7 @@ }, "x-appwrite": { "method": "getDocument", - "weight": 109, + "weight": 110, "cookies": false, "type": "", "deprecated": false, @@ -8327,7 +8327,7 @@ }, "x-appwrite": { "method": "updateDocument", - "weight": 111, + "weight": 112, "cookies": false, "type": "", "deprecated": false, @@ -8428,7 +8428,7 @@ }, "x-appwrite": { "method": "deleteDocument", - "weight": 112, + "weight": 113, "cookies": false, "type": "", "deprecated": false, @@ -8514,7 +8514,7 @@ }, "x-appwrite": { "method": "listDocumentLogs", - "weight": 110, + "weight": 111, "cookies": false, "type": "", "deprecated": false, @@ -8609,7 +8609,7 @@ }, "x-appwrite": { "method": "listIndexes", - "weight": 104, + "weight": 105, "cookies": false, "type": "", "deprecated": false, @@ -8693,7 +8693,7 @@ }, "x-appwrite": { "method": "createIndex", - "weight": 103, + "weight": 104, "cookies": false, "type": "", "deprecated": false, @@ -8815,7 +8815,7 @@ }, "x-appwrite": { "method": "getIndex", - "weight": 105, + "weight": 106, "cookies": false, "type": "", "deprecated": false, @@ -8888,7 +8888,7 @@ }, "x-appwrite": { "method": "deleteIndex", - "weight": 106, + "weight": 107, "cookies": false, "type": "", "deprecated": false, @@ -8970,7 +8970,7 @@ }, "x-appwrite": { "method": "listCollectionLogs", - "weight": 77, + "weight": 78, "cookies": false, "type": "", "deprecated": false, @@ -9055,7 +9055,7 @@ }, "x-appwrite": { "method": "getCollectionUsage", - "weight": 115, + "weight": 116, "cookies": false, "type": "", "deprecated": false, @@ -9149,7 +9149,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 71, + "weight": 72, "cookies": false, "type": "", "deprecated": false, @@ -9224,7 +9224,7 @@ }, "x-appwrite": { "method": "getDatabaseUsage", - "weight": 114, + "weight": 115, "cookies": false, "type": "", "deprecated": false, @@ -9308,7 +9308,7 @@ }, "x-appwrite": { "method": "list", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -9383,7 +9383,7 @@ }, "x-appwrite": { "method": "create", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -9437,6 +9437,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -9455,6 +9456,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -9462,23 +9465,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -9622,7 +9630,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -9673,7 +9681,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -9725,7 +9733,7 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -9827,7 +9835,7 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -9889,7 +9897,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "deprecated": false, @@ -9963,7 +9971,7 @@ }, "x-appwrite": { "method": "get", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -10024,7 +10032,7 @@ }, "x-appwrite": { "method": "update", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -10085,6 +10093,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -10103,6 +10112,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -10110,23 +10121,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -10240,7 +10256,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -10303,7 +10319,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -10388,7 +10404,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 297, + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -10486,7 +10502,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -10557,7 +10573,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -10621,7 +10637,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -10687,7 +10703,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -10774,7 +10790,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -10840,7 +10856,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 294, + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -10915,7 +10931,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -11003,7 +11019,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -11120,7 +11136,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -11187,7 +11203,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -11260,7 +11276,7 @@ }, "x-appwrite": { "method": "getFunctionUsage", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "deprecated": false, @@ -11344,7 +11360,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -11405,7 +11421,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -11493,7 +11509,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -11564,7 +11580,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -11652,7 +11668,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -11725,7 +11741,7 @@ }, "x-appwrite": { "method": "query", - "weight": 329, + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -11779,7 +11795,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 328, + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -11833,7 +11849,7 @@ }, "x-appwrite": { "method": "get", - "weight": 124, + "weight": 125, "cookies": false, "type": "", "deprecated": false, @@ -11884,7 +11900,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -11935,7 +11951,7 @@ }, "x-appwrite": { "method": "getCache", - "weight": 127, + "weight": 128, "cookies": false, "type": "", "deprecated": false, @@ -11986,7 +12002,7 @@ }, "x-appwrite": { "method": "getCertificate", - "weight": 133, + "weight": 134, "cookies": false, "type": "", "deprecated": false, @@ -12048,7 +12064,7 @@ }, "x-appwrite": { "method": "getDB", - "weight": 126, + "weight": 127, "cookies": false, "type": "", "deprecated": false, @@ -12099,7 +12115,7 @@ }, "x-appwrite": { "method": "getPubSub", - "weight": 129, + "weight": 130, "cookies": false, "type": "", "deprecated": false, @@ -12150,7 +12166,7 @@ }, "x-appwrite": { "method": "getQueue", - "weight": 128, + "weight": 129, "cookies": false, "type": "", "deprecated": false, @@ -12201,7 +12217,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", - "weight": 135, + "weight": 136, "cookies": false, "type": "", "deprecated": false, @@ -12265,7 +12281,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", - "weight": 134, + "weight": 135, "cookies": false, "type": "", "deprecated": false, @@ -12329,7 +12345,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", - "weight": 136, + "weight": 137, "cookies": false, "type": "", "deprecated": false, @@ -12404,7 +12420,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", - "weight": 137, + "weight": 138, "cookies": false, "type": "", "deprecated": false, @@ -12468,7 +12484,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -12558,7 +12574,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", - "weight": 141, + "weight": 142, "cookies": false, "type": "", "deprecated": false, @@ -12622,7 +12638,7 @@ }, "x-appwrite": { "method": "getQueueLogs", - "weight": 132, + "weight": 133, "cookies": false, "type": "", "deprecated": false, @@ -12686,7 +12702,7 @@ }, "x-appwrite": { "method": "getQueueMails", - "weight": 138, + "weight": 139, "cookies": false, "type": "", "deprecated": false, @@ -12750,7 +12766,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", - "weight": 139, + "weight": 140, "cookies": false, "type": "", "deprecated": false, @@ -12814,7 +12830,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", - "weight": 140, + "weight": 141, "cookies": false, "type": "", "deprecated": false, @@ -12878,7 +12894,7 @@ }, "x-appwrite": { "method": "getQueueUsage", - "weight": 142, + "weight": 143, "cookies": false, "type": "", "deprecated": false, @@ -12942,7 +12958,7 @@ }, "x-appwrite": { "method": "getQueueUsageDump", - "weight": 143, + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -13006,7 +13022,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", - "weight": 131, + "weight": 132, "cookies": false, "type": "", "deprecated": false, @@ -13070,7 +13086,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -13121,7 +13137,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -13172,7 +13188,7 @@ }, "x-appwrite": { "method": "getTime", - "weight": 130, + "weight": 131, "cookies": false, "type": "", "deprecated": false, @@ -13223,7 +13239,7 @@ }, "x-appwrite": { "method": "get", - "weight": 116, + "weight": 117, "cookies": false, "type": "", "deprecated": false, @@ -13277,7 +13293,7 @@ }, "x-appwrite": { "method": "listCodes", - "weight": 117, + "weight": 118, "cookies": false, "type": "", "deprecated": false, @@ -13331,7 +13347,7 @@ }, "x-appwrite": { "method": "listContinents", - "weight": 121, + "weight": 122, "cookies": false, "type": "", "deprecated": false, @@ -13385,7 +13401,7 @@ }, "x-appwrite": { "method": "listCountries", - "weight": 118, + "weight": 119, "cookies": false, "type": "", "deprecated": false, @@ -13439,7 +13455,7 @@ }, "x-appwrite": { "method": "listCountriesEU", - "weight": 119, + "weight": 120, "cookies": false, "type": "", "deprecated": false, @@ -13493,7 +13509,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", - "weight": 120, + "weight": 121, "cookies": false, "type": "", "deprecated": false, @@ -13547,7 +13563,7 @@ }, "x-appwrite": { "method": "listCurrencies", - "weight": 122, + "weight": 123, "cookies": false, "type": "", "deprecated": false, @@ -13601,7 +13617,7 @@ }, "x-appwrite": { "method": "listLanguages", - "weight": 123, + "weight": 124, "cookies": false, "type": "", "deprecated": false, @@ -13655,7 +13671,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -13733,7 +13749,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -13879,7 +13895,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -14027,7 +14043,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -14184,7 +14200,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -14343,7 +14359,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -14454,7 +14470,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -14568,7 +14584,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -14623,7 +14639,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -14687,7 +14703,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -14764,7 +14780,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -14841,7 +14857,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14919,7 +14935,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -15026,7 +15042,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -15136,7 +15152,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -15223,7 +15239,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -15313,7 +15329,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -15430,7 +15446,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -15550,7 +15566,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -15647,7 +15663,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -15747,7 +15763,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -15854,7 +15870,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -15964,7 +15980,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -16109,7 +16125,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -16256,7 +16272,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -16353,7 +16369,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -16453,7 +16469,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -16550,7 +16566,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -16650,7 +16666,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -16747,7 +16763,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -16847,7 +16863,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -16944,7 +16960,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -17044,7 +17060,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -17099,7 +17115,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -17163,7 +17179,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -17240,7 +17256,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -17317,7 +17333,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -17393,7 +17409,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -17478,7 +17494,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -17540,7 +17556,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -17619,7 +17635,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -17683,7 +17699,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -17760,7 +17776,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -17846,7 +17862,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -17938,7 +17954,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -18003,7 +18019,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -18080,7 +18096,7 @@ }, "x-appwrite": { "method": "list", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -18156,7 +18172,7 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -18246,7 +18262,7 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -18341,7 +18357,7 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -18412,7 +18428,7 @@ }, "x-appwrite": { "method": "deleteFirebaseAuth", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -18462,7 +18478,7 @@ }, "x-appwrite": { "method": "createFirebaseOAuthMigration", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -18540,7 +18556,7 @@ }, "x-appwrite": { "method": "listFirebaseProjects", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -18590,7 +18606,7 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -18664,7 +18680,7 @@ }, "x-appwrite": { "method": "getFirebaseReportOAuth", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -18738,7 +18754,7 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -18851,7 +18867,7 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -18986,7 +19002,7 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -19093,7 +19109,7 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -19219,7 +19235,7 @@ }, "x-appwrite": { "method": "get", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -19279,7 +19295,7 @@ }, "x-appwrite": { "method": "retry", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -19332,7 +19348,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -19394,7 +19410,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 194, + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -19484,7 +19500,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 196, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -19532,7 +19548,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 195, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -19607,7 +19623,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 197, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -19667,7 +19683,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 198, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -19744,7 +19760,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 199, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -19806,7 +19822,7 @@ }, "x-appwrite": { "method": "list", - "weight": 150, + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -19880,7 +19896,7 @@ }, "x-appwrite": { "method": "create", - "weight": 149, + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -20017,7 +20033,7 @@ }, "x-appwrite": { "method": "get", - "weight": 151, + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -20077,7 +20093,7 @@ }, "x-appwrite": { "method": "update", - "weight": 152, + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -20194,7 +20210,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 168, + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -20256,7 +20272,7 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 156, + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -20350,7 +20366,7 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 157, + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -20431,7 +20447,7 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 161, + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -20512,7 +20528,7 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 160, + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -20593,7 +20609,7 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 166, + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -20674,7 +20690,7 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 167, + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -20758,7 +20774,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 164, + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -20839,7 +20855,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 163, + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -20920,7 +20936,7 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 165, + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -21001,7 +21017,7 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 159, + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -21082,7 +21098,7 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 162, + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -21184,7 +21200,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 180, + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -21273,7 +21289,7 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 176, + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -21333,7 +21349,7 @@ }, "x-appwrite": { "method": "createKey", - "weight": 175, + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -21428,7 +21444,7 @@ }, "x-appwrite": { "method": "getKey", - "weight": 177, + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -21498,7 +21514,7 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 178, + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -21594,7 +21610,7 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 179, + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -21666,7 +21682,7 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 158, + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -21805,7 +21821,7 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 182, + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -21865,7 +21881,7 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 181, + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -21986,7 +22002,7 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 183, + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -22056,7 +22072,7 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 184, + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -22153,7 +22169,7 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 185, + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -22225,7 +22241,7 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 154, + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -22327,7 +22343,7 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 155, + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -22408,7 +22424,7 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 186, + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -22528,7 +22544,7 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 187, + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -22661,7 +22677,7 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 153, + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -22742,7 +22758,7 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 189, + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -22968,7 +22984,7 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 191, + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -23234,7 +23250,7 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 193, + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -23462,7 +23478,7 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 188, + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -23685,7 +23701,7 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 190, + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -23927,7 +23943,7 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 192, + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -24152,7 +24168,7 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 170, + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -24212,7 +24228,7 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 169, + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -24329,7 +24345,7 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 171, + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -24399,7 +24415,7 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 172, + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -24517,7 +24533,7 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 174, + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -24589,7 +24605,7 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 173, + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -24661,7 +24677,7 @@ }, "x-appwrite": { "method": "listRules", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "deprecated": false, @@ -24735,7 +24751,7 @@ }, "x-appwrite": { "method": "createRule", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "deprecated": false, @@ -24821,7 +24837,7 @@ }, "x-appwrite": { "method": "getRule", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "deprecated": false, @@ -24874,7 +24890,7 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -24936,7 +24952,7 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -24998,7 +25014,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -25073,7 +25089,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 200, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -25202,7 +25218,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -25263,7 +25279,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -25389,7 +25405,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -25452,7 +25468,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 206, + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -25540,7 +25556,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 205, + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -25640,7 +25656,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -25714,7 +25730,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 212, + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -25805,7 +25821,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -25874,7 +25890,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -25943,7 +25959,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 208, + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -26161,7 +26177,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -26237,7 +26253,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -26311,7 +26327,7 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 215, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -26395,7 +26411,7 @@ }, "x-appwrite": { "method": "list", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -26473,7 +26489,7 @@ }, "x-appwrite": { "method": "create", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -26560,7 +26576,7 @@ }, "x-appwrite": { "method": "get", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -26624,7 +26640,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -26700,7 +26716,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -26766,7 +26782,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -26841,7 +26857,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -26929,7 +26945,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -27042,7 +27058,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -27116,7 +27132,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -27205,7 +27221,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -27281,7 +27297,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -27380,7 +27396,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -27442,7 +27458,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -27525,7 +27541,7 @@ }, "x-appwrite": { "method": "list", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -27600,7 +27616,7 @@ }, "x-appwrite": { "method": "create", - "weight": 230, + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -27690,7 +27706,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -27777,7 +27793,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -27864,7 +27880,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -27934,7 +27950,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -27997,7 +28013,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -28084,7 +28100,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -28171,7 +28187,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -28288,7 +28304,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -28393,7 +28409,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -28500,7 +28516,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -28574,7 +28590,7 @@ }, "x-appwrite": { "method": "get", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -28628,7 +28644,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -28691,7 +28707,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -28773,7 +28789,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -28857,7 +28873,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -28942,7 +28958,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -29018,7 +29034,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -29081,7 +29097,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -29163,7 +29179,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -29241,7 +29257,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -29304,7 +29320,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -29365,7 +29381,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -29426,7 +29442,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -29489,7 +29505,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -29571,7 +29587,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -29653,7 +29669,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -29735,7 +29751,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -29796,7 +29812,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -29878,7 +29894,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -29939,7 +29955,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -29993,7 +30009,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -30049,7 +30065,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -30122,7 +30138,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -30204,7 +30220,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -30279,7 +30295,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -30391,7 +30407,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -30463,7 +30479,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -30554,7 +30570,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -30628,7 +30644,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -30712,7 +30728,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -30794,7 +30810,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -30876,7 +30892,7 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -30947,7 +30963,7 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -31034,7 +31050,7 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -31106,7 +31122,7 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -31178,7 +31194,7 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "deprecated": false, @@ -31261,7 +31277,7 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -31342,7 +31358,7 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "deprecated": false, @@ -31433,7 +31449,7 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "deprecated": false, @@ -31509,7 +31525,7 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -31562,7 +31578,7 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "deprecated": false, @@ -36046,6 +36062,17 @@ "description": "SMTP server secure protocol", "x-example": "tls" }, + "pingCount": { + "type": "integer", + "description": "Number of times the ping was received for this project.", + "x-example": 1, + "format": "int32" + }, + "pingedAt": { + "type": "string", + "description": "Last ping datetime in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, "authEmailPassword": { "type": "boolean", "description": "Email\/Password auth method status", @@ -36173,6 +36200,8 @@ "smtpUsername", "smtpPassword", "smtpSecure", + "pingCount", + "pingedAt", "authEmailPassword", "authUsersAuthMagicURL", "authEmailOtp", @@ -38419,7 +38448,7 @@ }, "$createdAt": { "type": "string", - "description": "Variable creation date in ISO 8601 format.", + "description": "Migration creation date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$updatedAt": { diff --git a/app/config/specs/open-api3-1.6.x-server.json b/app/config/specs/open-api3-1.6.x-server.json index 32ba6b3388..44270f16af 100644 --- a/app/config/specs/open-api3-1.6.x-server.json +++ b/app/config/specs/open-api3-1.6.x-server.json @@ -43,7 +43,7 @@ }, "x-appwrite": { "method": "get", - "weight": 8, + "weight": 9, "cookies": false, "type": "", "deprecated": false, @@ -95,7 +95,7 @@ }, "x-appwrite": { "method": "create", - "weight": 7, + "weight": 8, "cookies": false, "type": "", "deprecated": false, @@ -182,7 +182,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 33, + "weight": 34, "cookies": false, "type": "", "deprecated": false, @@ -261,7 +261,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 56, + "weight": 57, "cookies": false, "type": "", "deprecated": false, @@ -323,7 +323,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 57, + "weight": 58, "cookies": false, "type": "", "deprecated": false, @@ -389,7 +389,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 28, + "weight": 29, "cookies": false, "type": "", "deprecated": false, @@ -440,7 +440,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 30, + "weight": 31, "cookies": false, "type": "", "deprecated": false, @@ -509,7 +509,7 @@ }, "x-appwrite": { "method": "updateMFA", - "weight": 43, + "weight": 44, "cookies": false, "type": "", "deprecated": false, @@ -582,7 +582,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", - "weight": 45, + "weight": 46, "cookies": false, "type": "", "deprecated": false, @@ -651,7 +651,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", - "weight": 46, + "weight": 47, "cookies": false, "type": "", "deprecated": false, @@ -732,7 +732,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 50, + "weight": 51, "cookies": false, "type": "", "deprecated": false, @@ -803,7 +803,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", - "weight": 51, + "weight": 52, "cookies": false, "type": "", "deprecated": false, @@ -879,7 +879,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", - "weight": 52, + "weight": 53, "cookies": false, "type": "", "deprecated": false, @@ -958,7 +958,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 44, + "weight": 45, "cookies": false, "type": "", "deprecated": false, @@ -1012,7 +1012,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 49, + "weight": 50, "cookies": false, "type": "", "deprecated": false, @@ -1064,7 +1064,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 47, + "weight": 48, "cookies": false, "type": "", "deprecated": false, @@ -1116,7 +1116,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 48, + "weight": 49, "cookies": false, "type": "", "deprecated": false, @@ -1170,7 +1170,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 31, + "weight": 32, "cookies": false, "type": "", "deprecated": false, @@ -1243,7 +1243,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 32, + "weight": 33, "cookies": false, "type": "", "deprecated": false, @@ -1321,7 +1321,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 34, + "weight": 35, "cookies": false, "type": "", "deprecated": false, @@ -1400,7 +1400,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 29, + "weight": 30, "cookies": false, "type": "", "deprecated": false, @@ -1452,7 +1452,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 35, + "weight": 36, "cookies": false, "type": "", "deprecated": false, @@ -1525,7 +1525,7 @@ }, "x-appwrite": { "method": "createRecovery", - "weight": 37, + "weight": 38, "cookies": false, "type": "", "deprecated": false, @@ -1605,7 +1605,7 @@ }, "x-appwrite": { "method": "updateRecovery", - "weight": 38, + "weight": 39, "cookies": false, "type": "", "deprecated": false, @@ -1690,7 +1690,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 10, + "weight": 11, "cookies": false, "type": "", "deprecated": false, @@ -1735,7 +1735,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 11, + "weight": 12, "cookies": false, "type": "", "deprecated": false, @@ -1789,7 +1789,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", - "weight": 16, + "weight": 17, "cookies": false, "type": "", "deprecated": false, @@ -1840,7 +1840,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", - "weight": 15, + "weight": 16, "cookies": false, "type": "", "deprecated": false, @@ -1916,7 +1916,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", - "weight": 25, + "weight": 26, "cookies": false, "type": "", "deprecated": true, @@ -1992,7 +1992,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", - "weight": 26, + "weight": 27, "cookies": false, "type": "", "deprecated": true, @@ -2068,7 +2068,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 17, + "weight": 18, "cookies": false, "type": "", "deprecated": false, @@ -2144,7 +2144,7 @@ }, "x-appwrite": { "method": "getSession", - "weight": 12, + "weight": 13, "cookies": false, "type": "", "deprecated": false, @@ -2208,7 +2208,7 @@ }, "x-appwrite": { "method": "updateSession", - "weight": 14, + "weight": 15, "cookies": false, "type": "", "deprecated": false, @@ -2265,7 +2265,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 13, + "weight": 14, "cookies": false, "type": "", "deprecated": false, @@ -2331,7 +2331,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 36, + "weight": 37, "cookies": false, "type": "", "deprecated": false, @@ -2385,7 +2385,7 @@ }, "x-appwrite": { "method": "createEmailToken", - "weight": 24, + "weight": 25, "cookies": false, "type": "", "deprecated": false, @@ -2466,7 +2466,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", - "weight": 23, + "weight": 24, "cookies": false, "type": "", "deprecated": false, @@ -2548,7 +2548,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", - "weight": 22, + "weight": 23, "cookies": false, "type": "webAuth", "deprecated": false, @@ -2691,7 +2691,7 @@ }, "x-appwrite": { "method": "createPhoneToken", - "weight": 27, + "weight": 28, "cookies": false, "type": "", "deprecated": false, @@ -2770,7 +2770,7 @@ }, "x-appwrite": { "method": "createVerification", - "weight": 39, + "weight": 40, "cookies": false, "type": "", "deprecated": false, @@ -2841,7 +2841,7 @@ }, "x-appwrite": { "method": "updateVerification", - "weight": 40, + "weight": 41, "cookies": false, "type": "", "deprecated": false, @@ -2920,7 +2920,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", - "weight": 41, + "weight": 42, "cookies": false, "type": "", "deprecated": false, @@ -2975,7 +2975,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 42, + "weight": 43, "cookies": false, "type": "", "deprecated": false, @@ -3047,7 +3047,7 @@ }, "x-appwrite": { "method": "getBrowser", - "weight": 59, + "weight": 60, "cookies": false, "type": "location", "deprecated": false, @@ -3177,7 +3177,7 @@ }, "x-appwrite": { "method": "getCreditCard", - "weight": 58, + "weight": 59, "cookies": false, "type": "location", "deprecated": false, @@ -3311,7 +3311,7 @@ }, "x-appwrite": { "method": "getFavicon", - "weight": 62, + "weight": 63, "cookies": false, "type": "location", "deprecated": false, @@ -3373,7 +3373,7 @@ }, "x-appwrite": { "method": "getFlag", - "weight": 60, + "weight": 61, "cookies": false, "type": "location", "deprecated": false, @@ -3865,7 +3865,7 @@ }, "x-appwrite": { "method": "getImage", - "weight": 61, + "weight": 62, "cookies": false, "type": "location", "deprecated": false, @@ -3951,7 +3951,7 @@ }, "x-appwrite": { "method": "getInitials", - "weight": 64, + "weight": 65, "cookies": false, "type": "location", "deprecated": false, @@ -4047,7 +4047,7 @@ }, "x-appwrite": { "method": "getQR", - "weight": 63, + "weight": 64, "cookies": false, "type": "location", "deprecated": false, @@ -4150,7 +4150,7 @@ }, "x-appwrite": { "method": "list", - "weight": 69, + "weight": 70, "cookies": false, "type": "", "deprecated": false, @@ -4226,7 +4226,7 @@ }, "x-appwrite": { "method": "create", - "weight": 68, + "weight": 69, "cookies": false, "type": "", "deprecated": false, @@ -4308,7 +4308,7 @@ }, "x-appwrite": { "method": "get", - "weight": 70, + "weight": 71, "cookies": false, "type": "", "deprecated": false, @@ -4370,7 +4370,7 @@ }, "x-appwrite": { "method": "update", - "weight": 72, + "weight": 73, "cookies": false, "type": "", "deprecated": false, @@ -4449,7 +4449,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 73, + "weight": 74, "cookies": false, "type": "", "deprecated": false, @@ -4513,7 +4513,7 @@ }, "x-appwrite": { "method": "listCollections", - "weight": 75, + "weight": 76, "cookies": false, "type": "", "deprecated": false, @@ -4599,7 +4599,7 @@ }, "x-appwrite": { "method": "createCollection", - "weight": 74, + "weight": 75, "cookies": false, "type": "", "deprecated": false, @@ -4706,7 +4706,7 @@ }, "x-appwrite": { "method": "getCollection", - "weight": 76, + "weight": 77, "cookies": false, "type": "", "deprecated": false, @@ -4778,7 +4778,7 @@ }, "x-appwrite": { "method": "updateCollection", - "weight": 78, + "weight": 79, "cookies": false, "type": "", "deprecated": false, @@ -4880,7 +4880,7 @@ }, "x-appwrite": { "method": "deleteCollection", - "weight": 79, + "weight": 80, "cookies": false, "type": "", "deprecated": false, @@ -4954,7 +4954,7 @@ }, "x-appwrite": { "method": "listAttributes", - "weight": 90, + "weight": 91, "cookies": false, "type": "", "deprecated": false, @@ -5041,7 +5041,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", - "weight": 87, + "weight": 88, "cookies": false, "type": "", "deprecated": false, @@ -5150,7 +5150,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", - "weight": 99, + "weight": 100, "cookies": false, "type": "", "deprecated": false, @@ -5264,7 +5264,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", - "weight": 88, + "weight": 89, "cookies": false, "type": "", "deprecated": false, @@ -5373,7 +5373,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", - "weight": 100, + "weight": 101, "cookies": false, "type": "", "deprecated": false, @@ -5487,7 +5487,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", - "weight": 81, + "weight": 82, "cookies": false, "type": "", "deprecated": false, @@ -5596,7 +5596,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", - "weight": 93, + "weight": 94, "cookies": false, "type": "", "deprecated": false, @@ -5710,7 +5710,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", - "weight": 82, + "weight": 83, "cookies": false, "type": "", "deprecated": false, @@ -5828,7 +5828,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", - "weight": 94, + "weight": 95, "cookies": false, "type": "", "deprecated": false, @@ -5951,7 +5951,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", - "weight": 86, + "weight": 87, "cookies": false, "type": "", "deprecated": false, @@ -6070,7 +6070,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", - "weight": 98, + "weight": 99, "cookies": false, "type": "", "deprecated": false, @@ -6196,7 +6196,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", - "weight": 85, + "weight": 86, "cookies": false, "type": "", "deprecated": false, @@ -6315,7 +6315,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", - "weight": 97, + "weight": 98, "cookies": false, "type": "", "deprecated": false, @@ -6441,7 +6441,7 @@ }, "x-appwrite": { "method": "createIpAttribute", - "weight": 83, + "weight": 84, "cookies": false, "type": "", "deprecated": false, @@ -6550,7 +6550,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", - "weight": 95, + "weight": 96, "cookies": false, "type": "", "deprecated": false, @@ -6664,7 +6664,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", - "weight": 89, + "weight": 90, "cookies": false, "type": "", "deprecated": false, @@ -6798,7 +6798,7 @@ }, "x-appwrite": { "method": "createStringAttribute", - "weight": 80, + "weight": 81, "cookies": false, "type": "", "deprecated": false, @@ -6918,7 +6918,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", - "weight": 92, + "weight": 93, "cookies": false, "type": "", "deprecated": false, @@ -7037,7 +7037,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", - "weight": 84, + "weight": 85, "cookies": false, "type": "", "deprecated": false, @@ -7146,7 +7146,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", - "weight": 96, + "weight": 97, "cookies": false, "type": "", "deprecated": false, @@ -7291,7 +7291,7 @@ }, "x-appwrite": { "method": "getAttribute", - "weight": 91, + "weight": 92, "cookies": false, "type": "", "deprecated": false, @@ -7365,7 +7365,7 @@ }, "x-appwrite": { "method": "deleteAttribute", - "weight": 102, + "weight": 103, "cookies": false, "type": "", "deprecated": false, @@ -7448,7 +7448,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", - "weight": 101, + "weight": 102, "cookies": false, "type": "", "deprecated": false, @@ -7559,7 +7559,7 @@ }, "x-appwrite": { "method": "listDocuments", - "weight": 108, + "weight": 109, "cookies": false, "type": "", "deprecated": false, @@ -7648,7 +7648,7 @@ }, "x-appwrite": { "method": "createDocument", - "weight": 107, + "weight": 108, "cookies": false, "type": "", "deprecated": false, @@ -7759,7 +7759,7 @@ }, "x-appwrite": { "method": "getDocument", - "weight": 109, + "weight": 110, "cookies": false, "type": "", "deprecated": false, @@ -7858,7 +7858,7 @@ }, "x-appwrite": { "method": "updateDocument", - "weight": 111, + "weight": 112, "cookies": false, "type": "", "deprecated": false, @@ -7961,7 +7961,7 @@ }, "x-appwrite": { "method": "deleteDocument", - "weight": 112, + "weight": 113, "cookies": false, "type": "", "deprecated": false, @@ -8049,7 +8049,7 @@ }, "x-appwrite": { "method": "listIndexes", - "weight": 104, + "weight": 105, "cookies": false, "type": "", "deprecated": false, @@ -8134,7 +8134,7 @@ }, "x-appwrite": { "method": "createIndex", - "weight": 103, + "weight": 104, "cookies": false, "type": "", "deprecated": false, @@ -8257,7 +8257,7 @@ }, "x-appwrite": { "method": "getIndex", - "weight": 105, + "weight": 106, "cookies": false, "type": "", "deprecated": false, @@ -8331,7 +8331,7 @@ }, "x-appwrite": { "method": "deleteIndex", - "weight": 106, + "weight": 107, "cookies": false, "type": "", "deprecated": false, @@ -8414,7 +8414,7 @@ }, "x-appwrite": { "method": "list", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -8490,7 +8490,7 @@ }, "x-appwrite": { "method": "create", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -8545,6 +8545,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -8563,6 +8564,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -8570,23 +8573,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -8730,7 +8738,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -8782,7 +8790,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -8835,7 +8843,7 @@ }, "x-appwrite": { "method": "get", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -8897,7 +8905,7 @@ }, "x-appwrite": { "method": "update", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -8959,6 +8967,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -8977,6 +8986,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -8984,23 +8995,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -9114,7 +9130,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -9178,7 +9194,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -9264,7 +9280,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 297, + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -9363,7 +9379,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -9435,7 +9451,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -9500,7 +9516,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -9567,7 +9583,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -9655,7 +9671,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -9722,7 +9738,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 294, + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -9798,7 +9814,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -9888,7 +9904,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -10007,7 +10023,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -10076,7 +10092,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -10150,7 +10166,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -10212,7 +10228,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -10301,7 +10317,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -10373,7 +10389,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -10462,7 +10478,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -10536,7 +10552,7 @@ }, "x-appwrite": { "method": "query", - "weight": 329, + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -10592,7 +10608,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 328, + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -10648,7 +10664,7 @@ }, "x-appwrite": { "method": "get", - "weight": 124, + "weight": 125, "cookies": false, "type": "", "deprecated": false, @@ -10700,7 +10716,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -10752,7 +10768,7 @@ }, "x-appwrite": { "method": "getCache", - "weight": 127, + "weight": 128, "cookies": false, "type": "", "deprecated": false, @@ -10804,7 +10820,7 @@ }, "x-appwrite": { "method": "getCertificate", - "weight": 133, + "weight": 134, "cookies": false, "type": "", "deprecated": false, @@ -10867,7 +10883,7 @@ }, "x-appwrite": { "method": "getDB", - "weight": 126, + "weight": 127, "cookies": false, "type": "", "deprecated": false, @@ -10919,7 +10935,7 @@ }, "x-appwrite": { "method": "getPubSub", - "weight": 129, + "weight": 130, "cookies": false, "type": "", "deprecated": false, @@ -10971,7 +10987,7 @@ }, "x-appwrite": { "method": "getQueue", - "weight": 128, + "weight": 129, "cookies": false, "type": "", "deprecated": false, @@ -11023,7 +11039,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", - "weight": 135, + "weight": 136, "cookies": false, "type": "", "deprecated": false, @@ -11088,7 +11104,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", - "weight": 134, + "weight": 135, "cookies": false, "type": "", "deprecated": false, @@ -11153,7 +11169,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", - "weight": 136, + "weight": 137, "cookies": false, "type": "", "deprecated": false, @@ -11229,7 +11245,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", - "weight": 137, + "weight": 138, "cookies": false, "type": "", "deprecated": false, @@ -11294,7 +11310,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -11385,7 +11401,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", - "weight": 141, + "weight": 142, "cookies": false, "type": "", "deprecated": false, @@ -11450,7 +11466,7 @@ }, "x-appwrite": { "method": "getQueueLogs", - "weight": 132, + "weight": 133, "cookies": false, "type": "", "deprecated": false, @@ -11515,7 +11531,7 @@ }, "x-appwrite": { "method": "getQueueMails", - "weight": 138, + "weight": 139, "cookies": false, "type": "", "deprecated": false, @@ -11580,7 +11596,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", - "weight": 139, + "weight": 140, "cookies": false, "type": "", "deprecated": false, @@ -11645,7 +11661,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", - "weight": 140, + "weight": 141, "cookies": false, "type": "", "deprecated": false, @@ -11710,7 +11726,7 @@ }, "x-appwrite": { "method": "getQueueUsage", - "weight": 142, + "weight": 143, "cookies": false, "type": "", "deprecated": false, @@ -11775,7 +11791,7 @@ }, "x-appwrite": { "method": "getQueueUsageDump", - "weight": 143, + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -11840,7 +11856,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", - "weight": 131, + "weight": 132, "cookies": false, "type": "", "deprecated": false, @@ -11905,7 +11921,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -11957,7 +11973,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -12009,7 +12025,7 @@ }, "x-appwrite": { "method": "getTime", - "weight": 130, + "weight": 131, "cookies": false, "type": "", "deprecated": false, @@ -12061,7 +12077,7 @@ }, "x-appwrite": { "method": "get", - "weight": 116, + "weight": 117, "cookies": false, "type": "", "deprecated": false, @@ -12117,7 +12133,7 @@ }, "x-appwrite": { "method": "listCodes", - "weight": 117, + "weight": 118, "cookies": false, "type": "", "deprecated": false, @@ -12173,7 +12189,7 @@ }, "x-appwrite": { "method": "listContinents", - "weight": 121, + "weight": 122, "cookies": false, "type": "", "deprecated": false, @@ -12229,7 +12245,7 @@ }, "x-appwrite": { "method": "listCountries", - "weight": 118, + "weight": 119, "cookies": false, "type": "", "deprecated": false, @@ -12285,7 +12301,7 @@ }, "x-appwrite": { "method": "listCountriesEU", - "weight": 119, + "weight": 120, "cookies": false, "type": "", "deprecated": false, @@ -12341,7 +12357,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", - "weight": 120, + "weight": 121, "cookies": false, "type": "", "deprecated": false, @@ -12397,7 +12413,7 @@ }, "x-appwrite": { "method": "listCurrencies", - "weight": 122, + "weight": 123, "cookies": false, "type": "", "deprecated": false, @@ -12453,7 +12469,7 @@ }, "x-appwrite": { "method": "listLanguages", - "weight": 123, + "weight": 124, "cookies": false, "type": "", "deprecated": false, @@ -12509,7 +12525,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -12588,7 +12604,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -12735,7 +12751,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -12884,7 +12900,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -13042,7 +13058,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -13202,7 +13218,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -13314,7 +13330,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -13429,7 +13445,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -13485,7 +13501,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -13550,7 +13566,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -13628,7 +13644,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -13706,7 +13722,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -13785,7 +13801,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -13893,7 +13909,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -14004,7 +14020,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -14092,7 +14108,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -14183,7 +14199,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -14301,7 +14317,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -14422,7 +14438,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14520,7 +14536,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -14621,7 +14637,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -14729,7 +14745,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -14840,7 +14856,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -14986,7 +15002,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -15134,7 +15150,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -15232,7 +15248,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -15333,7 +15349,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -15431,7 +15447,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -15532,7 +15548,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -15630,7 +15646,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -15731,7 +15747,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -15829,7 +15845,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -15930,7 +15946,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -15986,7 +16002,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -16051,7 +16067,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -16129,7 +16145,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -16207,7 +16223,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -16284,7 +16300,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -16370,7 +16386,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -16433,7 +16449,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -16513,7 +16529,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -16578,7 +16594,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -16656,7 +16672,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -16743,7 +16759,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -16837,7 +16853,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -16903,7 +16919,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -16982,7 +16998,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -17058,7 +17074,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 200, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -17188,7 +17204,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -17250,7 +17266,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -17377,7 +17393,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -17441,7 +17457,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 206, + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -17531,7 +17547,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 205, + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -17633,7 +17649,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -17709,7 +17725,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 212, + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -17802,7 +17818,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -17873,7 +17889,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -17944,7 +17960,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 208, + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -18164,7 +18180,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -18242,7 +18258,7 @@ }, "x-appwrite": { "method": "list", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -18322,7 +18338,7 @@ }, "x-appwrite": { "method": "create", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -18411,7 +18427,7 @@ }, "x-appwrite": { "method": "get", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -18477,7 +18493,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -18555,7 +18571,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -18623,7 +18639,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -18713,7 +18729,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -18828,7 +18844,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -18904,7 +18920,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -18995,7 +19011,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -19073,7 +19089,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -19174,7 +19190,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -19238,7 +19254,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -19323,7 +19339,7 @@ }, "x-appwrite": { "method": "list", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -19399,7 +19415,7 @@ }, "x-appwrite": { "method": "create", - "weight": 230, + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -19490,7 +19506,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -19578,7 +19594,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -19666,7 +19682,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -19737,7 +19753,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -19801,7 +19817,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -19889,7 +19905,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -19977,7 +19993,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -20095,7 +20111,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -20201,7 +20217,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -20309,7 +20325,7 @@ }, "x-appwrite": { "method": "get", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -20364,7 +20380,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -20428,7 +20444,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -20511,7 +20527,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -20596,7 +20612,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -20682,7 +20698,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -20759,7 +20775,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -20823,7 +20839,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -20906,7 +20922,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -20985,7 +21001,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -21049,7 +21065,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -21111,7 +21127,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -21173,7 +21189,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -21237,7 +21253,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -21320,7 +21336,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -21403,7 +21419,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -21486,7 +21502,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -21548,7 +21564,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -21631,7 +21647,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -21693,7 +21709,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -21748,7 +21764,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -21805,7 +21821,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -21879,7 +21895,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -21962,7 +21978,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -22038,7 +22054,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -22151,7 +22167,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -22224,7 +22240,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -22316,7 +22332,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -22391,7 +22407,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -22476,7 +22492,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -22559,7 +22575,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-1.6.x-client.json b/app/config/specs/swagger2-1.6.x-client.json index 421987f6a0..f070b1a4b0 100644 --- a/app/config/specs/swagger2-1.6.x-client.json +++ b/app/config/specs/swagger2-1.6.x-client.json @@ -87,7 +87,7 @@ }, "x-appwrite": { "method": "get", - "weight": 8, + "weight": 9, "cookies": false, "type": "", "deprecated": false, @@ -140,7 +140,7 @@ }, "x-appwrite": { "method": "create", - "weight": 7, + "weight": 8, "cookies": false, "type": "", "deprecated": false, @@ -233,7 +233,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 33, + "weight": 34, "cookies": false, "type": "", "deprecated": false, @@ -315,7 +315,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 56, + "weight": 57, "cookies": false, "type": "", "deprecated": false, @@ -379,7 +379,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 57, + "weight": 58, "cookies": false, "type": "", "deprecated": false, @@ -444,7 +444,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 28, + "weight": 29, "cookies": false, "type": "", "deprecated": false, @@ -497,7 +497,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 30, + "weight": 31, "cookies": false, "type": "", "deprecated": false, @@ -566,7 +566,7 @@ }, "x-appwrite": { "method": "updateMFA", - "weight": 43, + "weight": 44, "cookies": false, "type": "", "deprecated": false, @@ -641,7 +641,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", - "weight": 45, + "weight": 46, "cookies": false, "type": "", "deprecated": false, @@ -709,7 +709,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", - "weight": 46, + "weight": 47, "cookies": false, "type": "", "deprecated": false, @@ -790,7 +790,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 50, + "weight": 51, "cookies": false, "type": "", "deprecated": false, @@ -860,7 +860,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", - "weight": 51, + "weight": 52, "cookies": false, "type": "", "deprecated": false, @@ -934,7 +934,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", - "weight": 52, + "weight": 53, "cookies": false, "type": "", "deprecated": false, @@ -1016,7 +1016,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 44, + "weight": 45, "cookies": false, "type": "", "deprecated": false, @@ -1071,7 +1071,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 49, + "weight": 50, "cookies": false, "type": "", "deprecated": false, @@ -1124,7 +1124,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 47, + "weight": 48, "cookies": false, "type": "", "deprecated": false, @@ -1177,7 +1177,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 48, + "weight": 49, "cookies": false, "type": "", "deprecated": false, @@ -1232,7 +1232,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 31, + "weight": 32, "cookies": false, "type": "", "deprecated": false, @@ -1307,7 +1307,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 32, + "weight": 33, "cookies": false, "type": "", "deprecated": false, @@ -1388,7 +1388,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 34, + "weight": 35, "cookies": false, "type": "", "deprecated": false, @@ -1470,7 +1470,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 29, + "weight": 30, "cookies": false, "type": "", "deprecated": false, @@ -1523,7 +1523,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 35, + "weight": 36, "cookies": false, "type": "", "deprecated": false, @@ -1598,7 +1598,7 @@ }, "x-appwrite": { "method": "createRecovery", - "weight": 37, + "weight": 38, "cookies": false, "type": "", "deprecated": false, @@ -1681,7 +1681,7 @@ }, "x-appwrite": { "method": "updateRecovery", - "weight": 38, + "weight": 39, "cookies": false, "type": "", "deprecated": false, @@ -1770,7 +1770,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 10, + "weight": 11, "cookies": false, "type": "", "deprecated": false, @@ -1818,7 +1818,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 11, + "weight": 12, "cookies": false, "type": "", "deprecated": false, @@ -1873,7 +1873,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", - "weight": 16, + "weight": 17, "cookies": false, "type": "", "deprecated": false, @@ -1926,7 +1926,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", - "weight": 15, + "weight": 16, "cookies": false, "type": "", "deprecated": false, @@ -2006,7 +2006,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", - "weight": 25, + "weight": 26, "cookies": false, "type": "", "deprecated": true, @@ -2083,7 +2083,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", - "weight": 18, + "weight": 19, "cookies": false, "type": "webAuth", "deprecated": false, @@ -2221,7 +2221,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", - "weight": 26, + "weight": 27, "cookies": false, "type": "", "deprecated": true, @@ -2301,7 +2301,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 17, + "weight": 18, "cookies": false, "type": "", "deprecated": false, @@ -2381,7 +2381,7 @@ }, "x-appwrite": { "method": "getSession", - "weight": 12, + "weight": 13, "cookies": false, "type": "", "deprecated": false, @@ -2444,7 +2444,7 @@ }, "x-appwrite": { "method": "updateSession", - "weight": 14, + "weight": 15, "cookies": false, "type": "", "deprecated": false, @@ -2502,7 +2502,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 13, + "weight": 14, "cookies": false, "type": "", "deprecated": false, @@ -2567,7 +2567,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 36, + "weight": 37, "cookies": false, "type": "", "deprecated": false, @@ -2622,7 +2622,7 @@ }, "x-appwrite": { "method": "createPushTarget", - "weight": 53, + "weight": 54, "cookies": false, "type": "", "deprecated": false, @@ -2708,7 +2708,7 @@ }, "x-appwrite": { "method": "updatePushTarget", - "weight": 54, + "weight": 55, "cookies": false, "type": "", "deprecated": false, @@ -2784,7 +2784,7 @@ }, "x-appwrite": { "method": "deletePushTarget", - "weight": 55, + "weight": 56, "cookies": false, "type": "", "deprecated": false, @@ -2847,7 +2847,7 @@ }, "x-appwrite": { "method": "createEmailToken", - "weight": 24, + "weight": 25, "cookies": false, "type": "", "deprecated": false, @@ -2933,7 +2933,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", - "weight": 23, + "weight": 24, "cookies": false, "type": "", "deprecated": false, @@ -3025,7 +3025,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", - "weight": 22, + "weight": 23, "cookies": false, "type": "webAuth", "deprecated": false, @@ -3163,7 +3163,7 @@ }, "x-appwrite": { "method": "createPhoneToken", - "weight": 27, + "weight": 28, "cookies": false, "type": "", "deprecated": false, @@ -3246,7 +3246,7 @@ }, "x-appwrite": { "method": "createVerification", - "weight": 39, + "weight": 40, "cookies": false, "type": "", "deprecated": false, @@ -3319,7 +3319,7 @@ }, "x-appwrite": { "method": "updateVerification", - "weight": 40, + "weight": 41, "cookies": false, "type": "", "deprecated": false, @@ -3401,7 +3401,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", - "weight": 41, + "weight": 42, "cookies": false, "type": "", "deprecated": false, @@ -3457,7 +3457,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 42, + "weight": 43, "cookies": false, "type": "", "deprecated": false, @@ -3539,7 +3539,7 @@ }, "x-appwrite": { "method": "getBrowser", - "weight": 59, + "weight": 60, "cookies": false, "type": "location", "deprecated": false, @@ -3668,7 +3668,7 @@ }, "x-appwrite": { "method": "getCreditCard", - "weight": 58, + "weight": 59, "cookies": false, "type": "location", "deprecated": false, @@ -3801,7 +3801,7 @@ }, "x-appwrite": { "method": "getFavicon", - "weight": 62, + "weight": 63, "cookies": false, "type": "location", "deprecated": false, @@ -3868,7 +3868,7 @@ }, "x-appwrite": { "method": "getFlag", - "weight": 60, + "weight": 61, "cookies": false, "type": "location", "deprecated": false, @@ -4359,7 +4359,7 @@ }, "x-appwrite": { "method": "getImage", - "weight": 61, + "weight": 62, "cookies": false, "type": "location", "deprecated": false, @@ -4446,7 +4446,7 @@ }, "x-appwrite": { "method": "getInitials", - "weight": 64, + "weight": 65, "cookies": false, "type": "location", "deprecated": false, @@ -4541,7 +4541,7 @@ }, "x-appwrite": { "method": "getQR", - "weight": 63, + "weight": 64, "cookies": false, "type": "location", "deprecated": false, @@ -4636,7 +4636,7 @@ }, "x-appwrite": { "method": "listDocuments", - "weight": 108, + "weight": 109, "cookies": false, "type": "", "deprecated": false, @@ -4720,7 +4720,7 @@ }, "x-appwrite": { "method": "createDocument", - "weight": 107, + "weight": 108, "cookies": false, "type": "", "deprecated": false, @@ -4828,7 +4828,7 @@ }, "x-appwrite": { "method": "getDocument", - "weight": 109, + "weight": 110, "cookies": false, "type": "", "deprecated": false, @@ -4920,7 +4920,7 @@ }, "x-appwrite": { "method": "updateDocument", - "weight": 111, + "weight": 112, "cookies": false, "type": "", "deprecated": false, @@ -5019,7 +5019,7 @@ }, "x-appwrite": { "method": "deleteDocument", - "weight": 112, + "weight": 113, "cookies": false, "type": "", "deprecated": false, @@ -5101,7 +5101,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -5186,7 +5186,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -5307,7 +5307,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -5381,7 +5381,7 @@ }, "x-appwrite": { "method": "query", - "weight": 329, + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -5457,7 +5457,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 328, + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -5533,7 +5533,7 @@ }, "x-appwrite": { "method": "get", - "weight": 116, + "weight": 117, "cookies": false, "type": "", "deprecated": false, @@ -5589,7 +5589,7 @@ }, "x-appwrite": { "method": "listCodes", - "weight": 117, + "weight": 118, "cookies": false, "type": "", "deprecated": false, @@ -5645,7 +5645,7 @@ }, "x-appwrite": { "method": "listContinents", - "weight": 121, + "weight": 122, "cookies": false, "type": "", "deprecated": false, @@ -5701,7 +5701,7 @@ }, "x-appwrite": { "method": "listCountries", - "weight": 118, + "weight": 119, "cookies": false, "type": "", "deprecated": false, @@ -5757,7 +5757,7 @@ }, "x-appwrite": { "method": "listCountriesEU", - "weight": 119, + "weight": 120, "cookies": false, "type": "", "deprecated": false, @@ -5813,7 +5813,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", - "weight": 120, + "weight": 121, "cookies": false, "type": "", "deprecated": false, @@ -5869,7 +5869,7 @@ }, "x-appwrite": { "method": "listCurrencies", - "weight": 122, + "weight": 123, "cookies": false, "type": "", "deprecated": false, @@ -5925,7 +5925,7 @@ }, "x-appwrite": { "method": "listLanguages", - "weight": 123, + "weight": 124, "cookies": false, "type": "", "deprecated": false, @@ -5981,7 +5981,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -6070,7 +6070,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -6145,7 +6145,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 206, + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -6230,7 +6230,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 205, + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -6324,7 +6324,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -6396,7 +6396,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 212, + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -6487,7 +6487,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6561,7 +6561,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6635,7 +6635,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 208, + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -6836,7 +6836,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6910,7 +6910,7 @@ }, "x-appwrite": { "method": "list", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6987,7 +6987,7 @@ }, "x-appwrite": { "method": "create", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -7081,7 +7081,7 @@ }, "x-appwrite": { "method": "get", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -7145,7 +7145,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -7222,7 +7222,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -7288,7 +7288,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -7373,7 +7373,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -7490,7 +7490,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -7562,7 +7562,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7650,7 +7650,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7724,7 +7724,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7822,7 +7822,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -7885,7 +7885,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -9584,7 +9584,7 @@ "format": "int32" }, "responseBody": { - "type": "payload", + "type": "string", "description": "HTTP response body. This will return empty unless execution is created as synchronous.", "x-example": "" }, diff --git a/app/config/specs/swagger2-1.6.x-console.json b/app/config/specs/swagger2-1.6.x-console.json index b7b6816c65..ef651e4723 100644 --- a/app/config/specs/swagger2-1.6.x-console.json +++ b/app/config/specs/swagger2-1.6.x-console.json @@ -99,7 +99,7 @@ }, "x-appwrite": { "method": "get", - "weight": 8, + "weight": 9, "cookies": false, "type": "", "deprecated": false, @@ -151,7 +151,7 @@ }, "x-appwrite": { "method": "create", - "weight": 7, + "weight": 8, "cookies": false, "type": "", "deprecated": false, @@ -237,7 +237,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 9, + "weight": 10, "cookies": false, "type": "", "deprecated": false, @@ -289,7 +289,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 33, + "weight": 34, "cookies": false, "type": "", "deprecated": false, @@ -370,7 +370,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 56, + "weight": 57, "cookies": false, "type": "", "deprecated": false, @@ -433,7 +433,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 57, + "weight": 58, "cookies": false, "type": "", "deprecated": false, @@ -497,7 +497,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 28, + "weight": 29, "cookies": false, "type": "", "deprecated": false, @@ -550,7 +550,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 30, + "weight": 31, "cookies": false, "type": "", "deprecated": false, @@ -618,7 +618,7 @@ }, "x-appwrite": { "method": "updateMFA", - "weight": 43, + "weight": 44, "cookies": false, "type": "", "deprecated": false, @@ -692,7 +692,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", - "weight": 45, + "weight": 46, "cookies": false, "type": "", "deprecated": false, @@ -759,7 +759,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", - "weight": 46, + "weight": 47, "cookies": false, "type": "", "deprecated": false, @@ -839,7 +839,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 50, + "weight": 51, "cookies": false, "type": "", "deprecated": false, @@ -908,7 +908,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", - "weight": 51, + "weight": 52, "cookies": false, "type": "", "deprecated": false, @@ -982,7 +982,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", - "weight": 52, + "weight": 53, "cookies": false, "type": "", "deprecated": false, @@ -1063,7 +1063,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 44, + "weight": 45, "cookies": false, "type": "", "deprecated": false, @@ -1117,7 +1117,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 49, + "weight": 50, "cookies": false, "type": "", "deprecated": false, @@ -1169,7 +1169,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 47, + "weight": 48, "cookies": false, "type": "", "deprecated": false, @@ -1221,7 +1221,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 48, + "weight": 49, "cookies": false, "type": "", "deprecated": false, @@ -1275,7 +1275,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 31, + "weight": 32, "cookies": false, "type": "", "deprecated": false, @@ -1349,7 +1349,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 32, + "weight": 33, "cookies": false, "type": "", "deprecated": false, @@ -1429,7 +1429,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 34, + "weight": 35, "cookies": false, "type": "", "deprecated": false, @@ -1510,7 +1510,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 29, + "weight": 30, "cookies": false, "type": "", "deprecated": false, @@ -1562,7 +1562,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 35, + "weight": 36, "cookies": false, "type": "", "deprecated": false, @@ -1636,7 +1636,7 @@ }, "x-appwrite": { "method": "createRecovery", - "weight": 37, + "weight": 38, "cookies": false, "type": "", "deprecated": false, @@ -1718,7 +1718,7 @@ }, "x-appwrite": { "method": "updateRecovery", - "weight": 38, + "weight": 39, "cookies": false, "type": "", "deprecated": false, @@ -1806,7 +1806,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 10, + "weight": 11, "cookies": false, "type": "", "deprecated": false, @@ -1853,7 +1853,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 11, + "weight": 12, "cookies": false, "type": "", "deprecated": false, @@ -1907,7 +1907,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", - "weight": 16, + "weight": 17, "cookies": false, "type": "", "deprecated": false, @@ -1960,7 +1960,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", - "weight": 15, + "weight": 16, "cookies": false, "type": "", "deprecated": false, @@ -2040,7 +2040,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", - "weight": 25, + "weight": 26, "cookies": false, "type": "", "deprecated": true, @@ -2117,7 +2117,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", - "weight": 18, + "weight": 19, "cookies": false, "type": "webAuth", "deprecated": false, @@ -2255,7 +2255,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", - "weight": 26, + "weight": 27, "cookies": false, "type": "", "deprecated": true, @@ -2335,7 +2335,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 17, + "weight": 18, "cookies": false, "type": "", "deprecated": false, @@ -2415,7 +2415,7 @@ }, "x-appwrite": { "method": "getSession", - "weight": 12, + "weight": 13, "cookies": false, "type": "", "deprecated": false, @@ -2477,7 +2477,7 @@ }, "x-appwrite": { "method": "updateSession", - "weight": 14, + "weight": 15, "cookies": false, "type": "", "deprecated": false, @@ -2534,7 +2534,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 13, + "weight": 14, "cookies": false, "type": "", "deprecated": false, @@ -2598,7 +2598,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 36, + "weight": 37, "cookies": false, "type": "", "deprecated": false, @@ -2652,7 +2652,7 @@ }, "x-appwrite": { "method": "createPushTarget", - "weight": 53, + "weight": 54, "cookies": false, "type": "", "deprecated": false, @@ -2737,7 +2737,7 @@ }, "x-appwrite": { "method": "updatePushTarget", - "weight": 54, + "weight": 55, "cookies": false, "type": "", "deprecated": false, @@ -2812,7 +2812,7 @@ }, "x-appwrite": { "method": "deletePushTarget", - "weight": 55, + "weight": 56, "cookies": false, "type": "", "deprecated": false, @@ -2874,7 +2874,7 @@ }, "x-appwrite": { "method": "createEmailToken", - "weight": 24, + "weight": 25, "cookies": false, "type": "", "deprecated": false, @@ -2960,7 +2960,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", - "weight": 23, + "weight": 24, "cookies": false, "type": "", "deprecated": false, @@ -3052,7 +3052,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", - "weight": 22, + "weight": 23, "cookies": false, "type": "webAuth", "deprecated": false, @@ -3190,7 +3190,7 @@ }, "x-appwrite": { "method": "createPhoneToken", - "weight": 27, + "weight": 28, "cookies": false, "type": "", "deprecated": false, @@ -3273,7 +3273,7 @@ }, "x-appwrite": { "method": "createVerification", - "weight": 39, + "weight": 40, "cookies": false, "type": "", "deprecated": false, @@ -3345,7 +3345,7 @@ }, "x-appwrite": { "method": "updateVerification", - "weight": 40, + "weight": 41, "cookies": false, "type": "", "deprecated": false, @@ -3426,7 +3426,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", - "weight": 41, + "weight": 42, "cookies": false, "type": "", "deprecated": false, @@ -3481,7 +3481,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 42, + "weight": 43, "cookies": false, "type": "", "deprecated": false, @@ -3562,7 +3562,7 @@ }, "x-appwrite": { "method": "getBrowser", - "weight": 59, + "weight": 60, "cookies": false, "type": "location", "deprecated": false, @@ -3691,7 +3691,7 @@ }, "x-appwrite": { "method": "getCreditCard", - "weight": 58, + "weight": 59, "cookies": false, "type": "location", "deprecated": false, @@ -3824,7 +3824,7 @@ }, "x-appwrite": { "method": "getFavicon", - "weight": 62, + "weight": 63, "cookies": false, "type": "location", "deprecated": false, @@ -3891,7 +3891,7 @@ }, "x-appwrite": { "method": "getFlag", - "weight": 60, + "weight": 61, "cookies": false, "type": "location", "deprecated": false, @@ -4382,7 +4382,7 @@ }, "x-appwrite": { "method": "getImage", - "weight": 61, + "weight": 62, "cookies": false, "type": "location", "deprecated": false, @@ -4469,7 +4469,7 @@ }, "x-appwrite": { "method": "getInitials", - "weight": 64, + "weight": 65, "cookies": false, "type": "location", "deprecated": false, @@ -4564,7 +4564,7 @@ }, "x-appwrite": { "method": "getQR", - "weight": 63, + "weight": 64, "cookies": false, "type": "location", "deprecated": false, @@ -4659,7 +4659,7 @@ }, "x-appwrite": { "method": "chat", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -4731,7 +4731,7 @@ }, "x-appwrite": { "method": "variables", - "weight": 330, + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -4783,7 +4783,7 @@ }, "x-appwrite": { "method": "list", - "weight": 69, + "weight": 70, "cookies": false, "type": "", "deprecated": false, @@ -4857,7 +4857,7 @@ }, "x-appwrite": { "method": "create", - "weight": 68, + "weight": 69, "cookies": false, "type": "", "deprecated": false, @@ -4943,7 +4943,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 113, + "weight": 114, "cookies": false, "type": "", "deprecated": false, @@ -5017,7 +5017,7 @@ }, "x-appwrite": { "method": "get", - "weight": 70, + "weight": 71, "cookies": false, "type": "", "deprecated": false, @@ -5078,7 +5078,7 @@ }, "x-appwrite": { "method": "update", - "weight": 72, + "weight": 73, "cookies": false, "type": "", "deprecated": false, @@ -5158,7 +5158,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 73, + "weight": 74, "cookies": false, "type": "", "deprecated": false, @@ -5221,7 +5221,7 @@ }, "x-appwrite": { "method": "listCollections", - "weight": 75, + "weight": 76, "cookies": false, "type": "", "deprecated": false, @@ -5303,7 +5303,7 @@ }, "x-appwrite": { "method": "createCollection", - "weight": 74, + "weight": 75, "cookies": false, "type": "", "deprecated": false, @@ -5412,7 +5412,7 @@ }, "x-appwrite": { "method": "getCollection", - "weight": 76, + "weight": 77, "cookies": false, "type": "", "deprecated": false, @@ -5481,7 +5481,7 @@ }, "x-appwrite": { "method": "updateCollection", - "weight": 78, + "weight": 79, "cookies": false, "type": "", "deprecated": false, @@ -5584,7 +5584,7 @@ }, "x-appwrite": { "method": "deleteCollection", - "weight": 79, + "weight": 80, "cookies": false, "type": "", "deprecated": false, @@ -5655,7 +5655,7 @@ }, "x-appwrite": { "method": "listAttributes", - "weight": 90, + "weight": 91, "cookies": false, "type": "", "deprecated": false, @@ -5738,7 +5738,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", - "weight": 87, + "weight": 88, "cookies": false, "type": "", "deprecated": false, @@ -5844,7 +5844,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", - "weight": 99, + "weight": 100, "cookies": false, "type": "", "deprecated": false, @@ -5954,7 +5954,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", - "weight": 88, + "weight": 89, "cookies": false, "type": "", "deprecated": false, @@ -6060,7 +6060,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", - "weight": 100, + "weight": 101, "cookies": false, "type": "", "deprecated": false, @@ -6170,7 +6170,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", - "weight": 81, + "weight": 82, "cookies": false, "type": "", "deprecated": false, @@ -6276,7 +6276,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", - "weight": 93, + "weight": 94, "cookies": false, "type": "", "deprecated": false, @@ -6386,7 +6386,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", - "weight": 82, + "weight": 83, "cookies": false, "type": "", "deprecated": false, @@ -6502,7 +6502,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", - "weight": 94, + "weight": 95, "cookies": false, "type": "", "deprecated": false, @@ -6622,7 +6622,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", - "weight": 86, + "weight": 87, "cookies": false, "type": "", "deprecated": false, @@ -6740,7 +6740,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", - "weight": 98, + "weight": 99, "cookies": false, "type": "", "deprecated": false, @@ -6864,7 +6864,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", - "weight": 85, + "weight": 86, "cookies": false, "type": "", "deprecated": false, @@ -6982,7 +6982,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", - "weight": 97, + "weight": 98, "cookies": false, "type": "", "deprecated": false, @@ -7106,7 +7106,7 @@ }, "x-appwrite": { "method": "createIpAttribute", - "weight": 83, + "weight": 84, "cookies": false, "type": "", "deprecated": false, @@ -7212,7 +7212,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", - "weight": 95, + "weight": 96, "cookies": false, "type": "", "deprecated": false, @@ -7322,7 +7322,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", - "weight": 89, + "weight": 90, "cookies": false, "type": "", "deprecated": false, @@ -7457,7 +7457,7 @@ }, "x-appwrite": { "method": "createStringAttribute", - "weight": 80, + "weight": 81, "cookies": false, "type": "", "deprecated": false, @@ -7576,7 +7576,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", - "weight": 92, + "weight": 93, "cookies": false, "type": "", "deprecated": false, @@ -7692,7 +7692,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", - "weight": 84, + "weight": 85, "cookies": false, "type": "", "deprecated": false, @@ -7798,7 +7798,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", - "weight": 96, + "weight": 97, "cookies": false, "type": "", "deprecated": false, @@ -7939,7 +7939,7 @@ }, "x-appwrite": { "method": "getAttribute", - "weight": 91, + "weight": 92, "cookies": false, "type": "", "deprecated": false, @@ -8010,7 +8010,7 @@ }, "x-appwrite": { "method": "deleteAttribute", - "weight": 102, + "weight": 103, "cookies": false, "type": "", "deprecated": false, @@ -8086,7 +8086,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", - "weight": 101, + "weight": 102, "cookies": false, "type": "", "deprecated": false, @@ -8192,7 +8192,7 @@ }, "x-appwrite": { "method": "listDocuments", - "weight": 108, + "weight": 109, "cookies": false, "type": "", "deprecated": false, @@ -8276,7 +8276,7 @@ }, "x-appwrite": { "method": "createDocument", - "weight": 107, + "weight": 108, "cookies": false, "type": "", "deprecated": false, @@ -8384,7 +8384,7 @@ }, "x-appwrite": { "method": "getDocument", - "weight": 109, + "weight": 110, "cookies": false, "type": "", "deprecated": false, @@ -8476,7 +8476,7 @@ }, "x-appwrite": { "method": "updateDocument", - "weight": 111, + "weight": 112, "cookies": false, "type": "", "deprecated": false, @@ -8575,7 +8575,7 @@ }, "x-appwrite": { "method": "deleteDocument", - "weight": 112, + "weight": 113, "cookies": false, "type": "", "deprecated": false, @@ -8657,7 +8657,7 @@ }, "x-appwrite": { "method": "listDocumentLogs", - "weight": 110, + "weight": 111, "cookies": false, "type": "", "deprecated": false, @@ -8747,7 +8747,7 @@ }, "x-appwrite": { "method": "listIndexes", - "weight": 104, + "weight": 105, "cookies": false, "type": "", "deprecated": false, @@ -8828,7 +8828,7 @@ }, "x-appwrite": { "method": "createIndex", - "weight": 103, + "weight": 104, "cookies": false, "type": "", "deprecated": false, @@ -8950,7 +8950,7 @@ }, "x-appwrite": { "method": "getIndex", - "weight": 105, + "weight": 106, "cookies": false, "type": "", "deprecated": false, @@ -9021,7 +9021,7 @@ }, "x-appwrite": { "method": "deleteIndex", - "weight": 106, + "weight": 107, "cookies": false, "type": "", "deprecated": false, @@ -9099,7 +9099,7 @@ }, "x-appwrite": { "method": "listCollectionLogs", - "weight": 77, + "weight": 78, "cookies": false, "type": "", "deprecated": false, @@ -9181,7 +9181,7 @@ }, "x-appwrite": { "method": "getCollectionUsage", - "weight": 115, + "weight": 116, "cookies": false, "type": "", "deprecated": false, @@ -9271,7 +9271,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 71, + "weight": 72, "cookies": false, "type": "", "deprecated": false, @@ -9345,7 +9345,7 @@ }, "x-appwrite": { "method": "getDatabaseUsage", - "weight": 114, + "weight": 115, "cookies": false, "type": "", "deprecated": false, @@ -9427,7 +9427,7 @@ }, "x-appwrite": { "method": "list", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -9501,7 +9501,7 @@ }, "x-appwrite": { "method": "create", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -9559,6 +9559,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -9577,6 +9578,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -9584,23 +9587,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -9764,7 +9772,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -9817,7 +9825,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -9871,7 +9879,7 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -9969,7 +9977,7 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -10031,7 +10039,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "deprecated": false, @@ -10105,7 +10113,7 @@ }, "x-appwrite": { "method": "get", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -10166,7 +10174,7 @@ }, "x-appwrite": { "method": "update", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -10226,6 +10234,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -10244,6 +10253,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -10251,23 +10262,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -10399,7 +10415,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -10462,7 +10478,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -10544,7 +10560,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 297, + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -10638,7 +10654,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -10707,7 +10723,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -10771,7 +10787,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -10837,7 +10853,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -10921,7 +10937,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -10992,7 +11008,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 294, + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -11065,7 +11081,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -11150,7 +11166,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -11271,7 +11287,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -11338,7 +11354,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -11409,7 +11425,7 @@ }, "x-appwrite": { "method": "getFunctionUsage", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "deprecated": false, @@ -11491,7 +11507,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -11552,7 +11568,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -11640,7 +11656,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -11709,7 +11725,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -11797,7 +11813,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -11868,7 +11884,7 @@ }, "x-appwrite": { "method": "query", - "weight": 329, + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -11944,7 +11960,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 328, + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -12020,7 +12036,7 @@ }, "x-appwrite": { "method": "get", - "weight": 124, + "weight": 125, "cookies": false, "type": "", "deprecated": false, @@ -12073,7 +12089,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -12126,7 +12142,7 @@ }, "x-appwrite": { "method": "getCache", - "weight": 127, + "weight": 128, "cookies": false, "type": "", "deprecated": false, @@ -12179,7 +12195,7 @@ }, "x-appwrite": { "method": "getCertificate", - "weight": 133, + "weight": 134, "cookies": false, "type": "", "deprecated": false, @@ -12241,7 +12257,7 @@ }, "x-appwrite": { "method": "getDB", - "weight": 126, + "weight": 127, "cookies": false, "type": "", "deprecated": false, @@ -12294,7 +12310,7 @@ }, "x-appwrite": { "method": "getPubSub", - "weight": 129, + "weight": 130, "cookies": false, "type": "", "deprecated": false, @@ -12347,7 +12363,7 @@ }, "x-appwrite": { "method": "getQueue", - "weight": 128, + "weight": 129, "cookies": false, "type": "", "deprecated": false, @@ -12400,7 +12416,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", - "weight": 135, + "weight": 136, "cookies": false, "type": "", "deprecated": false, @@ -12464,7 +12480,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", - "weight": 134, + "weight": 135, "cookies": false, "type": "", "deprecated": false, @@ -12528,7 +12544,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", - "weight": 136, + "weight": 137, "cookies": false, "type": "", "deprecated": false, @@ -12601,7 +12617,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", - "weight": 137, + "weight": 138, "cookies": false, "type": "", "deprecated": false, @@ -12665,7 +12681,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -12753,7 +12769,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", - "weight": 141, + "weight": 142, "cookies": false, "type": "", "deprecated": false, @@ -12817,7 +12833,7 @@ }, "x-appwrite": { "method": "getQueueLogs", - "weight": 132, + "weight": 133, "cookies": false, "type": "", "deprecated": false, @@ -12881,7 +12897,7 @@ }, "x-appwrite": { "method": "getQueueMails", - "weight": 138, + "weight": 139, "cookies": false, "type": "", "deprecated": false, @@ -12945,7 +12961,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", - "weight": 139, + "weight": 140, "cookies": false, "type": "", "deprecated": false, @@ -13009,7 +13025,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", - "weight": 140, + "weight": 141, "cookies": false, "type": "", "deprecated": false, @@ -13073,7 +13089,7 @@ }, "x-appwrite": { "method": "getQueueUsage", - "weight": 142, + "weight": 143, "cookies": false, "type": "", "deprecated": false, @@ -13137,7 +13153,7 @@ }, "x-appwrite": { "method": "getQueueUsageDump", - "weight": 143, + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -13201,7 +13217,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", - "weight": 131, + "weight": 132, "cookies": false, "type": "", "deprecated": false, @@ -13265,7 +13281,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -13318,7 +13334,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -13371,7 +13387,7 @@ }, "x-appwrite": { "method": "getTime", - "weight": 130, + "weight": 131, "cookies": false, "type": "", "deprecated": false, @@ -13424,7 +13440,7 @@ }, "x-appwrite": { "method": "get", - "weight": 116, + "weight": 117, "cookies": false, "type": "", "deprecated": false, @@ -13480,7 +13496,7 @@ }, "x-appwrite": { "method": "listCodes", - "weight": 117, + "weight": 118, "cookies": false, "type": "", "deprecated": false, @@ -13536,7 +13552,7 @@ }, "x-appwrite": { "method": "listContinents", - "weight": 121, + "weight": 122, "cookies": false, "type": "", "deprecated": false, @@ -13592,7 +13608,7 @@ }, "x-appwrite": { "method": "listCountries", - "weight": 118, + "weight": 119, "cookies": false, "type": "", "deprecated": false, @@ -13648,7 +13664,7 @@ }, "x-appwrite": { "method": "listCountriesEU", - "weight": 119, + "weight": 120, "cookies": false, "type": "", "deprecated": false, @@ -13704,7 +13720,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", - "weight": 120, + "weight": 121, "cookies": false, "type": "", "deprecated": false, @@ -13760,7 +13776,7 @@ }, "x-appwrite": { "method": "listCurrencies", - "weight": 122, + "weight": 123, "cookies": false, "type": "", "deprecated": false, @@ -13816,7 +13832,7 @@ }, "x-appwrite": { "method": "listLanguages", - "weight": 123, + "weight": 124, "cookies": false, "type": "", "deprecated": false, @@ -13872,7 +13888,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -13949,7 +13965,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -14109,7 +14125,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -14266,7 +14282,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -14441,7 +14457,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -14613,7 +14629,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -14733,7 +14749,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -14851,7 +14867,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -14910,7 +14926,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -14974,7 +14990,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -15050,7 +15066,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -15126,7 +15142,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -15203,7 +15219,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -15320,7 +15336,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -15435,7 +15451,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -15528,7 +15544,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -15619,7 +15635,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -15748,7 +15764,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -15875,7 +15891,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -15980,7 +15996,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -16083,7 +16099,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -16200,7 +16216,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -16315,7 +16331,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -16476,7 +16492,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -16634,7 +16650,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -16739,7 +16755,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -16842,7 +16858,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -16947,7 +16963,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -17050,7 +17066,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -17155,7 +17171,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -17258,7 +17274,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -17363,7 +17379,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -17466,7 +17482,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -17525,7 +17541,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -17589,7 +17605,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -17665,7 +17681,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -17741,7 +17757,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -17816,7 +17832,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -17908,7 +17924,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -17970,7 +17986,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -18053,7 +18069,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -18117,7 +18133,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -18193,7 +18209,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -18276,7 +18292,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -18368,7 +18384,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -18435,7 +18451,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -18510,7 +18526,7 @@ }, "x-appwrite": { "method": "list", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -18585,7 +18601,7 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -18681,7 +18697,7 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -18771,7 +18787,7 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -18853,7 +18869,7 @@ }, "x-appwrite": { "method": "deleteFirebaseAuth", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -18905,7 +18921,7 @@ }, "x-appwrite": { "method": "createFirebaseOAuthMigration", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -18987,7 +19003,7 @@ }, "x-appwrite": { "method": "listFirebaseProjects", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -19039,7 +19055,7 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -19112,7 +19128,7 @@ }, "x-appwrite": { "method": "getFirebaseReportOAuth", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -19185,7 +19201,7 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -19308,7 +19324,7 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -19430,7 +19446,7 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -19546,7 +19562,7 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -19661,7 +19677,7 @@ }, "x-appwrite": { "method": "get", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -19721,7 +19737,7 @@ }, "x-appwrite": { "method": "retry", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -19776,7 +19792,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -19838,7 +19854,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 194, + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -19924,7 +19940,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 196, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -19974,7 +19990,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 195, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -20053,7 +20069,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 197, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -20113,7 +20129,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 198, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -20192,7 +20208,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 199, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -20254,7 +20270,7 @@ }, "x-appwrite": { "method": "list", - "weight": 150, + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -20327,7 +20343,7 @@ }, "x-appwrite": { "method": "create", - "weight": 149, + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -20479,7 +20495,7 @@ }, "x-appwrite": { "method": "get", - "weight": 151, + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -20539,7 +20555,7 @@ }, "x-appwrite": { "method": "update", - "weight": 152, + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -20666,7 +20682,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 168, + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -20728,7 +20744,7 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 156, + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -20822,7 +20838,7 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 157, + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -20902,7 +20918,7 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 161, + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -20982,7 +20998,7 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 160, + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -21062,7 +21078,7 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 166, + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -21142,7 +21158,7 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 167, + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -21225,7 +21241,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 164, + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -21305,7 +21321,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 163, + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -21385,7 +21401,7 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 165, + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -21465,7 +21481,7 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 159, + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -21545,7 +21561,7 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 162, + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -21644,7 +21660,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 180, + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -21733,7 +21749,7 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 176, + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -21793,7 +21809,7 @@ }, "x-appwrite": { "method": "createKey", - "weight": 175, + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -21889,7 +21905,7 @@ }, "x-appwrite": { "method": "getKey", - "weight": 177, + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -21957,7 +21973,7 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 178, + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -22054,7 +22070,7 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 179, + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -22124,7 +22140,7 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 158, + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -22265,7 +22281,7 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 182, + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -22325,7 +22341,7 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 181, + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -22449,7 +22465,7 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 183, + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -22517,7 +22533,7 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 184, + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -22616,7 +22632,7 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 185, + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -22686,7 +22702,7 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 154, + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -22788,7 +22804,7 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 155, + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -22868,7 +22884,7 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 186, + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -22997,7 +23013,7 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 187, + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -23137,7 +23153,7 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 153, + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -23217,7 +23233,7 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 189, + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -23439,7 +23455,7 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 191, + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -23704,7 +23720,7 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 193, + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -23928,7 +23944,7 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 188, + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -24147,7 +24163,7 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 190, + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -24384,7 +24400,7 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 192, + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -24605,7 +24621,7 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 170, + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -24665,7 +24681,7 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 169, + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -24787,7 +24803,7 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 171, + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -24855,7 +24871,7 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 172, + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -24978,7 +24994,7 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 174, + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -25048,7 +25064,7 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 173, + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -25118,7 +25134,7 @@ }, "x-appwrite": { "method": "listRules", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "deprecated": false, @@ -25191,7 +25207,7 @@ }, "x-appwrite": { "method": "createRule", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "deprecated": false, @@ -25282,7 +25298,7 @@ }, "x-appwrite": { "method": "getRule", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "deprecated": false, @@ -25337,7 +25353,7 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -25399,7 +25415,7 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -25461,7 +25477,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -25535,7 +25551,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 200, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -25676,7 +25692,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -25737,7 +25753,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -25872,7 +25888,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -25935,7 +25951,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 206, + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -26020,7 +26036,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 205, + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -26114,7 +26130,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -26186,7 +26202,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 212, + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -26277,7 +26293,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -26351,7 +26367,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -26425,7 +26441,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 208, + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -26626,7 +26642,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -26700,7 +26716,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -26774,7 +26790,7 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 215, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -26856,7 +26872,7 @@ }, "x-appwrite": { "method": "list", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -26933,7 +26949,7 @@ }, "x-appwrite": { "method": "create", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -27027,7 +27043,7 @@ }, "x-appwrite": { "method": "get", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -27091,7 +27107,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -27168,7 +27184,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -27234,7 +27250,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -27308,7 +27324,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -27393,7 +27409,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -27510,7 +27526,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -27582,7 +27598,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -27670,7 +27686,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -27744,7 +27760,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -27841,7 +27857,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -27903,7 +27919,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -27985,7 +28001,7 @@ }, "x-appwrite": { "method": "list", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -28059,7 +28075,7 @@ }, "x-appwrite": { "method": "create", - "weight": 230, + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -28156,7 +28172,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -28249,7 +28265,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -28342,7 +28358,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -28413,7 +28429,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -28476,7 +28492,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -28569,7 +28585,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -28662,7 +28678,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -28790,7 +28806,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -28904,7 +28920,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -29018,7 +29034,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -29092,7 +29108,7 @@ }, "x-appwrite": { "method": "get", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -29148,7 +29164,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -29211,7 +29227,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -29292,7 +29308,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -29376,7 +29392,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -29460,7 +29476,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -29535,7 +29551,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -29598,7 +29614,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -29679,7 +29695,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -29755,7 +29771,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -29818,7 +29834,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -29879,7 +29895,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -29940,7 +29956,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -30003,7 +30019,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -30084,7 +30100,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -30165,7 +30181,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -30246,7 +30262,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -30307,7 +30323,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -30388,7 +30404,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -30449,7 +30465,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -30505,7 +30521,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -30563,7 +30579,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -30634,7 +30650,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -30715,7 +30731,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -30789,7 +30805,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -30904,7 +30920,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -30974,7 +30990,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -31068,7 +31084,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -31140,7 +31156,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -31224,7 +31240,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -31305,7 +31321,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -31386,7 +31402,7 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -31455,7 +31471,7 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -31542,7 +31558,7 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -31612,7 +31628,7 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -31682,7 +31698,7 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "deprecated": false, @@ -31761,7 +31777,7 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -31841,7 +31857,7 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "deprecated": false, @@ -31929,7 +31945,7 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "deprecated": false, @@ -32004,7 +32020,7 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -32059,7 +32075,7 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "deprecated": false, @@ -36232,7 +36248,7 @@ "format": "int32" }, "responseBody": { - "type": "payload", + "type": "string", "description": "HTTP response body. This will return empty unless execution is created as synchronous.", "x-example": "" }, @@ -36563,6 +36579,17 @@ "description": "SMTP server secure protocol", "x-example": "tls" }, + "pingCount": { + "type": "integer", + "description": "Number of times the ping was received for this project.", + "x-example": 1, + "format": "int32" + }, + "pingedAt": { + "type": "string", + "description": "Last ping datetime in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, "authEmailPassword": { "type": "boolean", "description": "Email\/Password auth method status", @@ -36690,6 +36717,8 @@ "smtpUsername", "smtpPassword", "smtpSecure", + "pingCount", + "pingedAt", "authEmailPassword", "authUsersAuthMagicURL", "authEmailOtp", @@ -38983,7 +39012,7 @@ }, "$createdAt": { "type": "string", - "description": "Variable creation date in ISO 8601 format.", + "description": "Migration creation date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$updatedAt": { diff --git a/app/config/specs/swagger2-1.6.x-server.json b/app/config/specs/swagger2-1.6.x-server.json index 1501681fcf..37018916fa 100644 --- a/app/config/specs/swagger2-1.6.x-server.json +++ b/app/config/specs/swagger2-1.6.x-server.json @@ -102,7 +102,7 @@ }, "x-appwrite": { "method": "get", - "weight": 8, + "weight": 9, "cookies": false, "type": "", "deprecated": false, @@ -156,7 +156,7 @@ }, "x-appwrite": { "method": "create", - "weight": 7, + "weight": 8, "cookies": false, "type": "", "deprecated": false, @@ -249,7 +249,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 33, + "weight": 34, "cookies": false, "type": "", "deprecated": false, @@ -332,7 +332,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 56, + "weight": 57, "cookies": false, "type": "", "deprecated": false, @@ -397,7 +397,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 57, + "weight": 58, "cookies": false, "type": "", "deprecated": false, @@ -463,7 +463,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 28, + "weight": 29, "cookies": false, "type": "", "deprecated": false, @@ -516,7 +516,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 30, + "weight": 31, "cookies": false, "type": "", "deprecated": false, @@ -586,7 +586,7 @@ }, "x-appwrite": { "method": "updateMFA", - "weight": 43, + "weight": 44, "cookies": false, "type": "", "deprecated": false, @@ -662,7 +662,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", - "weight": 45, + "weight": 46, "cookies": false, "type": "", "deprecated": false, @@ -731,7 +731,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", - "weight": 46, + "weight": 47, "cookies": false, "type": "", "deprecated": false, @@ -813,7 +813,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 50, + "weight": 51, "cookies": false, "type": "", "deprecated": false, @@ -884,7 +884,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", - "weight": 51, + "weight": 52, "cookies": false, "type": "", "deprecated": false, @@ -958,7 +958,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", - "weight": 52, + "weight": 53, "cookies": false, "type": "", "deprecated": false, @@ -1041,7 +1041,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 44, + "weight": 45, "cookies": false, "type": "", "deprecated": false, @@ -1097,7 +1097,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 49, + "weight": 50, "cookies": false, "type": "", "deprecated": false, @@ -1151,7 +1151,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 47, + "weight": 48, "cookies": false, "type": "", "deprecated": false, @@ -1205,7 +1205,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 48, + "weight": 49, "cookies": false, "type": "", "deprecated": false, @@ -1261,7 +1261,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 31, + "weight": 32, "cookies": false, "type": "", "deprecated": false, @@ -1337,7 +1337,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 32, + "weight": 33, "cookies": false, "type": "", "deprecated": false, @@ -1419,7 +1419,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 34, + "weight": 35, "cookies": false, "type": "", "deprecated": false, @@ -1502,7 +1502,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 29, + "weight": 30, "cookies": false, "type": "", "deprecated": false, @@ -1556,7 +1556,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 35, + "weight": 36, "cookies": false, "type": "", "deprecated": false, @@ -1632,7 +1632,7 @@ }, "x-appwrite": { "method": "createRecovery", - "weight": 37, + "weight": 38, "cookies": false, "type": "", "deprecated": false, @@ -1716,7 +1716,7 @@ }, "x-appwrite": { "method": "updateRecovery", - "weight": 38, + "weight": 39, "cookies": false, "type": "", "deprecated": false, @@ -1806,7 +1806,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 10, + "weight": 11, "cookies": false, "type": "", "deprecated": false, @@ -1855,7 +1855,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 11, + "weight": 12, "cookies": false, "type": "", "deprecated": false, @@ -1911,7 +1911,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", - "weight": 16, + "weight": 17, "cookies": false, "type": "", "deprecated": false, @@ -1964,7 +1964,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", - "weight": 15, + "weight": 16, "cookies": false, "type": "", "deprecated": false, @@ -2044,7 +2044,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", - "weight": 25, + "weight": 26, "cookies": false, "type": "", "deprecated": true, @@ -2124,7 +2124,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", - "weight": 26, + "weight": 27, "cookies": false, "type": "", "deprecated": true, @@ -2204,7 +2204,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 17, + "weight": 18, "cookies": false, "type": "", "deprecated": false, @@ -2284,7 +2284,7 @@ }, "x-appwrite": { "method": "getSession", - "weight": 12, + "weight": 13, "cookies": false, "type": "", "deprecated": false, @@ -2348,7 +2348,7 @@ }, "x-appwrite": { "method": "updateSession", - "weight": 14, + "weight": 15, "cookies": false, "type": "", "deprecated": false, @@ -2407,7 +2407,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 13, + "weight": 14, "cookies": false, "type": "", "deprecated": false, @@ -2473,7 +2473,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 36, + "weight": 37, "cookies": false, "type": "", "deprecated": false, @@ -2529,7 +2529,7 @@ }, "x-appwrite": { "method": "createEmailToken", - "weight": 24, + "weight": 25, "cookies": false, "type": "", "deprecated": false, @@ -2615,7 +2615,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", - "weight": 23, + "weight": 24, "cookies": false, "type": "", "deprecated": false, @@ -2707,7 +2707,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", - "weight": 22, + "weight": 23, "cookies": false, "type": "webAuth", "deprecated": false, @@ -2845,7 +2845,7 @@ }, "x-appwrite": { "method": "createPhoneToken", - "weight": 27, + "weight": 28, "cookies": false, "type": "", "deprecated": false, @@ -2928,7 +2928,7 @@ }, "x-appwrite": { "method": "createVerification", - "weight": 39, + "weight": 40, "cookies": false, "type": "", "deprecated": false, @@ -3002,7 +3002,7 @@ }, "x-appwrite": { "method": "updateVerification", - "weight": 40, + "weight": 41, "cookies": false, "type": "", "deprecated": false, @@ -3085,7 +3085,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", - "weight": 41, + "weight": 42, "cookies": false, "type": "", "deprecated": false, @@ -3142,7 +3142,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 42, + "weight": 43, "cookies": false, "type": "", "deprecated": false, @@ -3225,7 +3225,7 @@ }, "x-appwrite": { "method": "getBrowser", - "weight": 59, + "weight": 60, "cookies": false, "type": "location", "deprecated": false, @@ -3356,7 +3356,7 @@ }, "x-appwrite": { "method": "getCreditCard", - "weight": 58, + "weight": 59, "cookies": false, "type": "location", "deprecated": false, @@ -3491,7 +3491,7 @@ }, "x-appwrite": { "method": "getFavicon", - "weight": 62, + "weight": 63, "cookies": false, "type": "location", "deprecated": false, @@ -3560,7 +3560,7 @@ }, "x-appwrite": { "method": "getFlag", - "weight": 60, + "weight": 61, "cookies": false, "type": "location", "deprecated": false, @@ -4053,7 +4053,7 @@ }, "x-appwrite": { "method": "getImage", - "weight": 61, + "weight": 62, "cookies": false, "type": "location", "deprecated": false, @@ -4142,7 +4142,7 @@ }, "x-appwrite": { "method": "getInitials", - "weight": 64, + "weight": 65, "cookies": false, "type": "location", "deprecated": false, @@ -4239,7 +4239,7 @@ }, "x-appwrite": { "method": "getQR", - "weight": 63, + "weight": 64, "cookies": false, "type": "location", "deprecated": false, @@ -4336,7 +4336,7 @@ }, "x-appwrite": { "method": "list", - "weight": 69, + "weight": 70, "cookies": false, "type": "", "deprecated": false, @@ -4411,7 +4411,7 @@ }, "x-appwrite": { "method": "create", - "weight": 68, + "weight": 69, "cookies": false, "type": "", "deprecated": false, @@ -4498,7 +4498,7 @@ }, "x-appwrite": { "method": "get", - "weight": 70, + "weight": 71, "cookies": false, "type": "", "deprecated": false, @@ -4560,7 +4560,7 @@ }, "x-appwrite": { "method": "update", - "weight": 72, + "weight": 73, "cookies": false, "type": "", "deprecated": false, @@ -4641,7 +4641,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 73, + "weight": 74, "cookies": false, "type": "", "deprecated": false, @@ -4705,7 +4705,7 @@ }, "x-appwrite": { "method": "listCollections", - "weight": 75, + "weight": 76, "cookies": false, "type": "", "deprecated": false, @@ -4788,7 +4788,7 @@ }, "x-appwrite": { "method": "createCollection", - "weight": 74, + "weight": 75, "cookies": false, "type": "", "deprecated": false, @@ -4898,7 +4898,7 @@ }, "x-appwrite": { "method": "getCollection", - "weight": 76, + "weight": 77, "cookies": false, "type": "", "deprecated": false, @@ -4968,7 +4968,7 @@ }, "x-appwrite": { "method": "updateCollection", - "weight": 78, + "weight": 79, "cookies": false, "type": "", "deprecated": false, @@ -5072,7 +5072,7 @@ }, "x-appwrite": { "method": "deleteCollection", - "weight": 79, + "weight": 80, "cookies": false, "type": "", "deprecated": false, @@ -5144,7 +5144,7 @@ }, "x-appwrite": { "method": "listAttributes", - "weight": 90, + "weight": 91, "cookies": false, "type": "", "deprecated": false, @@ -5228,7 +5228,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", - "weight": 87, + "weight": 88, "cookies": false, "type": "", "deprecated": false, @@ -5335,7 +5335,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", - "weight": 99, + "weight": 100, "cookies": false, "type": "", "deprecated": false, @@ -5446,7 +5446,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", - "weight": 88, + "weight": 89, "cookies": false, "type": "", "deprecated": false, @@ -5553,7 +5553,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", - "weight": 100, + "weight": 101, "cookies": false, "type": "", "deprecated": false, @@ -5664,7 +5664,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", - "weight": 81, + "weight": 82, "cookies": false, "type": "", "deprecated": false, @@ -5771,7 +5771,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", - "weight": 93, + "weight": 94, "cookies": false, "type": "", "deprecated": false, @@ -5882,7 +5882,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", - "weight": 82, + "weight": 83, "cookies": false, "type": "", "deprecated": false, @@ -5999,7 +5999,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", - "weight": 94, + "weight": 95, "cookies": false, "type": "", "deprecated": false, @@ -6120,7 +6120,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", - "weight": 86, + "weight": 87, "cookies": false, "type": "", "deprecated": false, @@ -6239,7 +6239,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", - "weight": 98, + "weight": 99, "cookies": false, "type": "", "deprecated": false, @@ -6364,7 +6364,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", - "weight": 85, + "weight": 86, "cookies": false, "type": "", "deprecated": false, @@ -6483,7 +6483,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", - "weight": 97, + "weight": 98, "cookies": false, "type": "", "deprecated": false, @@ -6608,7 +6608,7 @@ }, "x-appwrite": { "method": "createIpAttribute", - "weight": 83, + "weight": 84, "cookies": false, "type": "", "deprecated": false, @@ -6715,7 +6715,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", - "weight": 95, + "weight": 96, "cookies": false, "type": "", "deprecated": false, @@ -6826,7 +6826,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", - "weight": 89, + "weight": 90, "cookies": false, "type": "", "deprecated": false, @@ -6962,7 +6962,7 @@ }, "x-appwrite": { "method": "createStringAttribute", - "weight": 80, + "weight": 81, "cookies": false, "type": "", "deprecated": false, @@ -7082,7 +7082,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", - "weight": 92, + "weight": 93, "cookies": false, "type": "", "deprecated": false, @@ -7199,7 +7199,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", - "weight": 84, + "weight": 85, "cookies": false, "type": "", "deprecated": false, @@ -7306,7 +7306,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", - "weight": 96, + "weight": 97, "cookies": false, "type": "", "deprecated": false, @@ -7448,7 +7448,7 @@ }, "x-appwrite": { "method": "getAttribute", - "weight": 91, + "weight": 92, "cookies": false, "type": "", "deprecated": false, @@ -7520,7 +7520,7 @@ }, "x-appwrite": { "method": "deleteAttribute", - "weight": 102, + "weight": 103, "cookies": false, "type": "", "deprecated": false, @@ -7597,7 +7597,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", - "weight": 101, + "weight": 102, "cookies": false, "type": "", "deprecated": false, @@ -7704,7 +7704,7 @@ }, "x-appwrite": { "method": "listDocuments", - "weight": 108, + "weight": 109, "cookies": false, "type": "", "deprecated": false, @@ -7790,7 +7790,7 @@ }, "x-appwrite": { "method": "createDocument", - "weight": 107, + "weight": 108, "cookies": false, "type": "", "deprecated": false, @@ -7900,7 +7900,7 @@ }, "x-appwrite": { "method": "getDocument", - "weight": 109, + "weight": 110, "cookies": false, "type": "", "deprecated": false, @@ -7994,7 +7994,7 @@ }, "x-appwrite": { "method": "updateDocument", - "weight": 111, + "weight": 112, "cookies": false, "type": "", "deprecated": false, @@ -8095,7 +8095,7 @@ }, "x-appwrite": { "method": "deleteDocument", - "weight": 112, + "weight": 113, "cookies": false, "type": "", "deprecated": false, @@ -8179,7 +8179,7 @@ }, "x-appwrite": { "method": "listIndexes", - "weight": 104, + "weight": 105, "cookies": false, "type": "", "deprecated": false, @@ -8261,7 +8261,7 @@ }, "x-appwrite": { "method": "createIndex", - "weight": 103, + "weight": 104, "cookies": false, "type": "", "deprecated": false, @@ -8384,7 +8384,7 @@ }, "x-appwrite": { "method": "getIndex", - "weight": 105, + "weight": 106, "cookies": false, "type": "", "deprecated": false, @@ -8456,7 +8456,7 @@ }, "x-appwrite": { "method": "deleteIndex", - "weight": 106, + "weight": 107, "cookies": false, "type": "", "deprecated": false, @@ -8535,7 +8535,7 @@ }, "x-appwrite": { "method": "list", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -8610,7 +8610,7 @@ }, "x-appwrite": { "method": "create", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -8669,6 +8669,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -8687,6 +8688,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -8694,23 +8697,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -8874,7 +8882,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -8928,7 +8936,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -8983,7 +8991,7 @@ }, "x-appwrite": { "method": "get", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -9045,7 +9053,7 @@ }, "x-appwrite": { "method": "update", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -9106,6 +9114,7 @@ "node-19.0", "node-20.0", "node-21.0", + "node-22", "php-8.0", "php-8.1", "php-8.2", @@ -9124,6 +9133,8 @@ "deno-1.24", "deno-1.35", "deno-1.40", + "deno-1.46", + "deno-2.0", "dart-2.15", "dart-2.16", "dart-2.17", @@ -9131,23 +9142,28 @@ "dart-3.0", "dart-3.1", "dart-3.3", - "dotnet-3.1", + "dart-3.5", "dotnet-6.0", "dotnet-7.0", + "dotnet-8.0", "java-8.0", "java-11.0", "java-17.0", "java-18.0", "java-21.0", + "java-22", "swift-5.5", "swift-5.8", "swift-5.9", + "swift-5.10", "kotlin-1.6", "kotlin-1.8", "kotlin-1.9", + "kotlin-2.0", "cpp-17", "cpp-20", "bun-1.0", + "bun-1.1", "go-1.23" ], "x-enum-name": null, @@ -9279,7 +9295,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -9343,7 +9359,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -9426,7 +9442,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 297, + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -9521,7 +9537,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -9591,7 +9607,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -9656,7 +9672,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -9723,7 +9739,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -9808,7 +9824,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -9880,7 +9896,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 294, + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -9954,7 +9970,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -10041,7 +10057,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -10164,7 +10180,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -10233,7 +10249,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -10305,7 +10321,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -10367,7 +10383,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -10456,7 +10472,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -10526,7 +10542,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -10615,7 +10631,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -10687,7 +10703,7 @@ }, "x-appwrite": { "method": "query", - "weight": 329, + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -10765,7 +10781,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 328, + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -10843,7 +10859,7 @@ }, "x-appwrite": { "method": "get", - "weight": 124, + "weight": 125, "cookies": false, "type": "", "deprecated": false, @@ -10897,7 +10913,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -10951,7 +10967,7 @@ }, "x-appwrite": { "method": "getCache", - "weight": 127, + "weight": 128, "cookies": false, "type": "", "deprecated": false, @@ -11005,7 +11021,7 @@ }, "x-appwrite": { "method": "getCertificate", - "weight": 133, + "weight": 134, "cookies": false, "type": "", "deprecated": false, @@ -11068,7 +11084,7 @@ }, "x-appwrite": { "method": "getDB", - "weight": 126, + "weight": 127, "cookies": false, "type": "", "deprecated": false, @@ -11122,7 +11138,7 @@ }, "x-appwrite": { "method": "getPubSub", - "weight": 129, + "weight": 130, "cookies": false, "type": "", "deprecated": false, @@ -11176,7 +11192,7 @@ }, "x-appwrite": { "method": "getQueue", - "weight": 128, + "weight": 129, "cookies": false, "type": "", "deprecated": false, @@ -11230,7 +11246,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", - "weight": 135, + "weight": 136, "cookies": false, "type": "", "deprecated": false, @@ -11295,7 +11311,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", - "weight": 134, + "weight": 135, "cookies": false, "type": "", "deprecated": false, @@ -11360,7 +11376,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", - "weight": 136, + "weight": 137, "cookies": false, "type": "", "deprecated": false, @@ -11434,7 +11450,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", - "weight": 137, + "weight": 138, "cookies": false, "type": "", "deprecated": false, @@ -11499,7 +11515,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -11588,7 +11604,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", - "weight": 141, + "weight": 142, "cookies": false, "type": "", "deprecated": false, @@ -11653,7 +11669,7 @@ }, "x-appwrite": { "method": "getQueueLogs", - "weight": 132, + "weight": 133, "cookies": false, "type": "", "deprecated": false, @@ -11718,7 +11734,7 @@ }, "x-appwrite": { "method": "getQueueMails", - "weight": 138, + "weight": 139, "cookies": false, "type": "", "deprecated": false, @@ -11783,7 +11799,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", - "weight": 139, + "weight": 140, "cookies": false, "type": "", "deprecated": false, @@ -11848,7 +11864,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", - "weight": 140, + "weight": 141, "cookies": false, "type": "", "deprecated": false, @@ -11913,7 +11929,7 @@ }, "x-appwrite": { "method": "getQueueUsage", - "weight": 142, + "weight": 143, "cookies": false, "type": "", "deprecated": false, @@ -11978,7 +11994,7 @@ }, "x-appwrite": { "method": "getQueueUsageDump", - "weight": 143, + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -12043,7 +12059,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", - "weight": 131, + "weight": 132, "cookies": false, "type": "", "deprecated": false, @@ -12108,7 +12124,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -12162,7 +12178,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -12216,7 +12232,7 @@ }, "x-appwrite": { "method": "getTime", - "weight": 130, + "weight": 131, "cookies": false, "type": "", "deprecated": false, @@ -12270,7 +12286,7 @@ }, "x-appwrite": { "method": "get", - "weight": 116, + "weight": 117, "cookies": false, "type": "", "deprecated": false, @@ -12328,7 +12344,7 @@ }, "x-appwrite": { "method": "listCodes", - "weight": 117, + "weight": 118, "cookies": false, "type": "", "deprecated": false, @@ -12386,7 +12402,7 @@ }, "x-appwrite": { "method": "listContinents", - "weight": 121, + "weight": 122, "cookies": false, "type": "", "deprecated": false, @@ -12444,7 +12460,7 @@ }, "x-appwrite": { "method": "listCountries", - "weight": 118, + "weight": 119, "cookies": false, "type": "", "deprecated": false, @@ -12502,7 +12518,7 @@ }, "x-appwrite": { "method": "listCountriesEU", - "weight": 119, + "weight": 120, "cookies": false, "type": "", "deprecated": false, @@ -12560,7 +12576,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", - "weight": 120, + "weight": 121, "cookies": false, "type": "", "deprecated": false, @@ -12618,7 +12634,7 @@ }, "x-appwrite": { "method": "listCurrencies", - "weight": 122, + "weight": 123, "cookies": false, "type": "", "deprecated": false, @@ -12676,7 +12692,7 @@ }, "x-appwrite": { "method": "listLanguages", - "weight": 123, + "weight": 124, "cookies": false, "type": "", "deprecated": false, @@ -12734,7 +12750,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -12812,7 +12828,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -12973,7 +12989,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -13131,7 +13147,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -13307,7 +13323,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -13480,7 +13496,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -13601,7 +13617,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -13720,7 +13736,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -13780,7 +13796,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -13845,7 +13861,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -13922,7 +13938,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -13999,7 +14015,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14077,7 +14093,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -14195,7 +14211,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -14311,7 +14327,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -14405,7 +14421,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -14497,7 +14513,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -14627,7 +14643,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -14755,7 +14771,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14861,7 +14877,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -14965,7 +14981,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -15083,7 +15099,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -15199,7 +15215,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -15361,7 +15377,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -15520,7 +15536,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -15626,7 +15642,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -15730,7 +15746,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -15836,7 +15852,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -15940,7 +15956,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -16046,7 +16062,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -16150,7 +16166,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -16256,7 +16272,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -16360,7 +16376,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -16420,7 +16436,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -16485,7 +16501,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -16562,7 +16578,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -16639,7 +16655,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -16715,7 +16731,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -16808,7 +16824,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -16871,7 +16887,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -16955,7 +16971,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -17020,7 +17036,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -17097,7 +17113,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -17181,7 +17197,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -17275,7 +17291,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -17343,7 +17359,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -17420,7 +17436,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -17495,7 +17511,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 200, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -17637,7 +17653,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -17699,7 +17715,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -17835,7 +17851,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -17899,7 +17915,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 206, + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -17986,7 +18002,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 205, + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -18082,7 +18098,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -18156,7 +18172,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 212, + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -18249,7 +18265,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -18325,7 +18341,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -18401,7 +18417,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 208, + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -18604,7 +18620,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -18680,7 +18696,7 @@ }, "x-appwrite": { "method": "list", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -18759,7 +18775,7 @@ }, "x-appwrite": { "method": "create", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -18855,7 +18871,7 @@ }, "x-appwrite": { "method": "get", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -18921,7 +18937,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -19000,7 +19016,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -19068,7 +19084,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -19155,7 +19171,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -19274,7 +19290,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -19348,7 +19364,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -19438,7 +19454,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -19514,7 +19530,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -19613,7 +19629,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -19677,7 +19693,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -19761,7 +19777,7 @@ }, "x-appwrite": { "method": "list", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -19836,7 +19852,7 @@ }, "x-appwrite": { "method": "create", - "weight": 230, + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -19934,7 +19950,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -20028,7 +20044,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -20122,7 +20138,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -20194,7 +20210,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -20258,7 +20274,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -20352,7 +20368,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -20446,7 +20462,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -20575,7 +20591,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -20690,7 +20706,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -20805,7 +20821,7 @@ }, "x-appwrite": { "method": "get", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -20862,7 +20878,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -20926,7 +20942,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -21008,7 +21024,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -21093,7 +21109,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -21178,7 +21194,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -21254,7 +21270,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -21318,7 +21334,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -21400,7 +21416,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -21477,7 +21493,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -21541,7 +21557,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -21603,7 +21619,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -21665,7 +21681,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -21729,7 +21745,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -21811,7 +21827,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -21893,7 +21909,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -21975,7 +21991,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -22037,7 +22053,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -22119,7 +22135,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -22181,7 +22197,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -22238,7 +22254,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -22297,7 +22313,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -22369,7 +22385,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -22451,7 +22467,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -22526,7 +22542,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -22642,7 +22658,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -22713,7 +22729,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -22808,7 +22824,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -22881,7 +22897,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -22966,7 +22982,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -23048,7 +23064,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -26585,7 +26601,7 @@ "format": "int32" }, "responseBody": { - "type": "payload", + "type": "string", "description": "HTTP response body. This will return empty unless execution is created as synchronous.", "x-example": "" }, From 4fa8f01ce2887ac7a4c5316ca94f66cb99a675cd Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 10 Oct 2024 21:15:18 +1300 Subject: [PATCH 31/33] Call migration success on success --- composer.lock | 14 +++++++------- src/Appwrite/Platform/Workers/Migrations.php | 5 +++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index 1e8c69c70b..083c4c3214 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f05357728316c79037d22ee26afd2d3e", + "content-hash": "89ebc75f08cd9ee5a5cccd64d0f9938a", "packages": [ { "name": "adhocore/jwt", @@ -2175,16 +2175,16 @@ }, { "name": "utopia-php/migration", - "version": "0.6.6", + "version": "0.6.8", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "667997c7ca6c445001d56f70205b6cf13c6b7343" + "reference": "c3740de52c1b616aa7f054d0fadb9207895b5279" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/667997c7ca6c445001d56f70205b6cf13c6b7343", - "reference": "667997c7ca6c445001d56f70205b6cf13c6b7343", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/c3740de52c1b616aa7f054d0fadb9207895b5279", + "reference": "c3740de52c1b616aa7f054d0fadb9207895b5279", "shasum": "" }, "require": { @@ -2225,9 +2225,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/0.6.6" + "source": "https://github.com/utopia-php/migration/tree/0.6.8" }, - "time": "2024-10-09T09:51:43+00:00" + "time": "2024-10-10T08:09:19+00:00" }, { "name": "utopia-php/mongo", diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index c25d1b59e4..beff0b064b 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -399,6 +399,11 @@ class Migrations extends Action throw new Exception('Migration failed'); } + + if ($migration->getAttribute('status', '') === 'completed') { + $destination->success(); + $source->success(); + } } } } From a246ba1a9e757f21ee604e5c8e50fa4ba7d7a916 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 10 Oct 2024 21:23:11 +1300 Subject: [PATCH 32/33] Lint --- app/config/function-templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/function-templates.php b/app/config/function-templates.php index 7dc039e08d..762c33dd9a 100644 --- a/app/config/function-templates.php +++ b/app/config/function-templates.php @@ -2070,4 +2070,4 @@ return [ ], 'scopes' => ['users.read', 'users.write'] ] -]; \ No newline at end of file +]; From de06af6c4b0140ff00420faa539ff0f765b4cf5b Mon Sep 17 00:00:00 2001 From: Fabian Gruber Date: Wed, 9 Oct 2024 17:47:58 +0200 Subject: [PATCH 33/33] chore: update utopia-php/system to 0.9.0 --- composer.json | 2 +- composer.lock | 40 ++++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index e7c7743da7..813e9feff2 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ "utopia-php/registry": "0.5.*", "utopia-php/storage": "0.18.*", "utopia-php/swoole": "0.8.*", - "utopia-php/system": "0.8.*", + "utopia-php/system": "0.9.*", "utopia-php/vcs": "0.8.*", "utopia-php/websocket": "0.1.*", "matomo/device-detector": "6.1.*", diff --git a/composer.lock b/composer.lock index 083c4c3214..2066feae40 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "89ebc75f08cd9ee5a5cccd64d0f9938a", + "content-hash": "5fef87b7ea4352869a502d1570bd43e7", "packages": [ { "name": "adhocore/jwt", @@ -157,21 +157,21 @@ }, { "name": "appwrite/php-runtimes", - "version": "0.16.1", + "version": "0.16.2", "source": { "type": "git", "url": "https://github.com/appwrite/runtimes.git", - "reference": "b36da25768c2dc66908ae226f6eed1b073a6f642" + "reference": "c33005e3eaaf2d427e9fd1077d5335e31f4d36f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/runtimes/zipball/b36da25768c2dc66908ae226f6eed1b073a6f642", - "reference": "b36da25768c2dc66908ae226f6eed1b073a6f642", + "url": "https://api.github.com/repos/appwrite/runtimes/zipball/c33005e3eaaf2d427e9fd1077d5335e31f4d36f9", + "reference": "c33005e3eaaf2d427e9fd1077d5335e31f4d36f9", "shasum": "" }, "require": { "php": ">=8.0", - "utopia-php/system": "0.8.*" + "utopia-php/system": "0.9.*" }, "require-dev": { "laravel/pint": "^1.15", @@ -206,9 +206,9 @@ ], "support": { "issues": "https://github.com/appwrite/runtimes/issues", - "source": "https://github.com/appwrite/runtimes/tree/0.16.1" + "source": "https://github.com/appwrite/runtimes/tree/0.16.2" }, - "time": "2024-10-09T10:27:14+00:00" + "time": "2024-10-09T15:02:52+00:00" }, { "name": "beberlei/assert", @@ -2714,16 +2714,16 @@ }, { "name": "utopia-php/system", - "version": "0.8.0", + "version": "0.9.0", "source": { "type": "git", "url": "https://github.com/utopia-php/system.git", - "reference": "a2cbfb3c69b9ecb8b6f06c5774f3cf279ea7665e" + "reference": "8e4a7edaf2dfeb4c9524e9f766d27754f2c4b64d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/system/zipball/a2cbfb3c69b9ecb8b6f06c5774f3cf279ea7665e", - "reference": "a2cbfb3c69b9ecb8b6f06c5774f3cf279ea7665e", + "url": "https://api.github.com/repos/utopia-php/system/zipball/8e4a7edaf2dfeb4c9524e9f766d27754f2c4b64d", + "reference": "8e4a7edaf2dfeb4c9524e9f766d27754f2c4b64d", "shasum": "" }, "require": { @@ -2764,9 +2764,9 @@ ], "support": { "issues": "https://github.com/utopia-php/system/issues", - "source": "https://github.com/utopia-php/system/tree/0.8.0" + "source": "https://github.com/utopia-php/system/tree/0.9.0" }, - "time": "2024-04-01T10:22:28+00:00" + "time": "2024-10-09T14:44:01+00:00" }, { "name": "utopia-php/vcs", @@ -3002,16 +3002,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.39.23", + "version": "0.39.24", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "0acceabb7593c9c07c5db85a84a5ebac60896763" + "reference": "412451c87f6ef17e24e9a5cf41721043d74c60c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/0acceabb7593c9c07c5db85a84a5ebac60896763", - "reference": "0acceabb7593c9c07c5db85a84a5ebac60896763", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/412451c87f6ef17e24e9a5cf41721043d74c60c8", + "reference": "412451c87f6ef17e24e9a5cf41721043d74c60c8", "shasum": "" }, "require": { @@ -3047,9 +3047,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.39.23" + "source": "https://github.com/appwrite/sdk-generator/tree/0.39.24" }, - "time": "2024-10-08T00:38:57+00:00" + "time": "2024-10-09T19:13:27+00:00" }, { "name": "doctrine/annotations",