PHP Class App\Http\Controllers\API\ObjectStorage\S3\SongController

Inheritance: extends Controller
Show file Open project: phanan/koel

Public Methods

Method Description
put ( PutSongRequest $request ) : Illuminate\Http\JsonResponse Store a new song or update an existing one with data from AWS.
remove ( RemoveSongRequest $request ) : Illuminate\Http\JsonResponse Remove a song whose info matches with data sent from AWS.

Method Details

put() public method

Store a new song or update an existing one with data from AWS.
public put ( PutSongRequest $request ) : Illuminate\Http\JsonResponse
$request App\Http\Requests\API\ObjectStorage\S3\PutSongRequest
return Illuminate\Http\JsonResponse

remove() public method

Remove a song whose info matches with data sent from AWS.
public remove ( RemoveSongRequest $request ) : Illuminate\Http\JsonResponse
$request App\Http\Requests\API\ObjectStorage\S3\RemoveSongRequest
return Illuminate\Http\JsonResponse