add new endpoints to module

This commit is contained in:
Damodar Lohani 2024-07-16 07:48:21 +00:00
parent c058d30d0a
commit af3dc25e2c
5 changed files with 12 additions and 0 deletions

View file

@ -1,4 +1,5 @@
<?php
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
use Appwrite\Extend\Exception;
use Appwrite\Utopia\Response;

View file

@ -1,4 +1,5 @@
<?php
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
use Appwrite\Extend\Exception;
use Appwrite\Utopia\Response;

View file

@ -1,4 +1,5 @@
<?php
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
use Appwrite\Extend\Exception;
use Appwrite\Utopia\Response;

View file

@ -1,4 +1,5 @@
<?php
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
use Appwrite\Extend\Exception;
use Appwrite\Utopia\Response;

View file

@ -3,6 +3,10 @@
namespace Appwrite\Platform\Modules\DevelopmentKeys\Services;
use Appwrite\Platform\Modules\DevelopmentKeys\Http\Create;
use Appwrite\Platform\Modules\DevelopmentKeys\Http\Update;
use Appwrite\Platform\Modules\DevelopmentKeys\Http\Get;
use Appwrite\Platform\Modules\DevelopmentKeys\Http\XList;
use Appwrite\Platform\Modules\DevelopmentKeys\Http\Delete;
use Utopia\Platform\Service;
class Http extends Service
@ -11,5 +15,9 @@ class Http extends Service
{
$this->type = Service::TYPE_HTTP;
$this->addAction(Create::getName(), new Create());
$this->addAction(Update::getName(), new Update());
$this->addAction(Get::getName(), new Get());
$this->addAction(XList::getName(), new XList());
$this->addAction(Delete::getName(), new Delete());
}
}