| 1 | <?php |
||
| 11 | class UploadController extends Controller |
||
| 12 | { |
||
| 13 | use CredentialsCheckTrait; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @Route("/api/upload/{name}", defaults={"name" = null}, requirements={"name" = "^[a-f0-9]{32}$"}) |
||
| 17 | * @Method({"POST"}) |
||
| 18 | * @param string|null $name |
||
| 19 | * @return JsonResponse |
||
| 20 | */ |
||
| 21 | 3 | public function uploadAction($name = null) |
|
| 45 | |||
| 46 | } |
||
| 47 |