mirror of
https://github.com/koel/koel
synced 2024-12-29 22:13:06 +00:00
18 lines
358 B
PHP
18 lines
358 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Requests\API\ObjectStorage\S3;
|
||
|
|
||
|
use App\Http\Requests\API\ObjectStorage\S3\Request as BaseRequest;
|
||
|
|
||
|
class PutSongRequest extends BaseRequest
|
||
|
{
|
||
|
public function rules()
|
||
|
{
|
||
|
return [
|
||
|
'bucket' => 'required',
|
||
|
'key' => 'required',
|
||
|
'tags.duration' => 'required|numeric'
|
||
|
];
|
||
|
}
|
||
|
}
|