API
This commit is contained in:
13
api/resources/routes/01_mailboxes.php
Normal file
13
api/resources/routes/01_mailboxes.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
use ProVM\Common\Controller\Mailboxes;
|
||||
|
||||
$app->group('/mailboxes', function($app) {
|
||||
$app->post('/register', [Mailboxes::class, 'register']);
|
||||
$app->delete('/unregister', [Mailboxes::class, 'unregister']);
|
||||
$app->get('/registered', [Mailboxes::class, 'registered']);
|
||||
$app->get('[/]', Mailboxes::class);
|
||||
});
|
||||
|
||||
$app->group('/mailbox/{mailbox_id}', function($app) {
|
||||
$app->get('[/]', [Mailboxes::class, 'get']);
|
||||
});
|
Reference in New Issue
Block a user