mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
add new endpoints to module
This commit is contained in:
parent
c058d30d0a
commit
af3dc25e2c
5 changed files with 12 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
|
||||
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Utopia\Response;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
|
||||
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Utopia\Response;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
|
||||
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Utopia\Response;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
namespace Appwrite\Platform\Modules\DevelopmentKeys\Http;
|
||||
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Utopia\Response;
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue