From a2fcdcb1587bb283b31b71d483c16c41d828b936 Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Wed, 4 Feb 2026 20:47:23 +0530 Subject: [PATCH] add to http --- .../Platform/Modules/VCS/Services/Http.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Appwrite/Platform/Modules/VCS/Services/Http.php b/src/Appwrite/Platform/Modules/VCS/Services/Http.php index 3630a5b32f..4d579871f5 100644 --- a/src/Appwrite/Platform/Modules/VCS/Services/Http.php +++ b/src/Appwrite/Platform/Modules/VCS/Services/Http.php @@ -4,6 +4,12 @@ namespace Appwrite\Platform\Modules\VCS\Services; use Appwrite\Platform\Modules\VCS\Http\Installations\Delete as DeleteInstallation; use Appwrite\Platform\Modules\VCS\Http\Installations\Get as GetInstallation; +use Appwrite\Platform\Modules\VCS\Http\Installations\Repositories\Branches\XList as ListRepositoryBranches; +use Appwrite\Platform\Modules\VCS\Http\Installations\Repositories\Contents\Get as GetRepositoryContents; +use Appwrite\Platform\Modules\VCS\Http\Installations\Repositories\Create as CreateRepository; +use Appwrite\Platform\Modules\VCS\Http\Installations\Repositories\Detection\Create as CreateRepositoryDetection; +use Appwrite\Platform\Modules\VCS\Http\Installations\Repositories\Get as GetRepository; +use Appwrite\Platform\Modules\VCS\Http\Installations\Repositories\XList as ListRepositories; use Appwrite\Platform\Modules\VCS\Http\Installations\XList as ListInstallations; use Utopia\Platform\Service; @@ -17,5 +23,13 @@ class Http extends Service $this->addAction(GetInstallation::getName(), new GetInstallation()); $this->addAction(ListInstallations::getName(), new ListInstallations()); $this->addAction(DeleteInstallation::getName(), new DeleteInstallation()); + + // Repositories + $this->addAction(CreateRepository::getName(), new CreateRepository()); + $this->addAction(GetRepository::getName(), new GetRepository()); + $this->addAction(ListRepositories::getName(), new ListRepositories()); + $this->addAction(ListRepositoryBranches::getName(), new ListRepositoryBranches()); + $this->addAction(GetRepositoryContents::getName(), new GetRepositoryContents()); + $this->addAction(CreateRepositoryDetection::getName(), new CreateRepositoryDetection()); } }