Files
emails/api/resources/routes/02_attachments.php

12 lines
374 B
PHP
Raw Normal View History

2022-11-09 15:20:04 -03:00
<?php
use ProVM\Common\Controller\Attachments;
$app->group('/attachments', function($app) {
2023-06-12 21:14:07 -04:00
$app->put('/grab[/]', [Attachments::class, 'grab']);
$app->get('/pending[/]', [Attachments::class, 'pending']);
2022-11-09 15:20:04 -03:00
$app->get('[/]', Attachments::class);
2022-11-29 11:12:06 -03:00
});
$app->group('/attachment/{attachment_id}', function($app) {
$app->get('[/]', [Attachments::class, 'get']);
2023-06-09 00:54:34 -04:00
});